function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SteliosStelios 

Remote_Error: nonce_is_missing

Hello,

I'm trying to set an Open ID Connect authentication in Salesforce but when I'm testing with my "Test-Only Initialization URL", I'm getting the error below:

We can’t log you in because of the following error. For more information, contact your Salesforce administrator.
Remote_Error: nonce_is_missing

Where can I add the nonce value in the Auth. Provider configuration page?

Thank you in advance.
Khan AnasKhan Anas (Salesforce Developers) 
Hi Stelios,

Greetings to you!

Please refer to the below links which might help you with the above issue.

https://github.com/openiddict/openiddict-core/issues/149

https://help.salesforce.com/articleView?id=remoteaccess_using_id_token.htm&type=5

https://developer.salesforce.com/forums/?id=906F00000008vcKIAQ

https://salesforce.stackexchange.com/questions/150238/issue-whie-generating-auth-signature-in-salesforce

https://developer.salesforce.com/forums/?id=906F00000008sFSIAY

I am not sure about the correct solution but you might get some help with the above links.

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks and Regards,
Khan Anas
SteliosStelios
Hello Khan,

Thank you very much for the swift reply. The links that you send me are very interesting but they only cover the basics. 

In my case, the client application is expecting 2 extra variables to authenticate (the nonce and the state). My understanding is that I need to create them with a UID generator and send then every time along with my request in the expected format. However, I'm not sure where does this action take place in the OpenId Connect configuration. 

Best regards,
Stelios