IDX21323: RequireNonce error




Login redirect to OKTA for authetication.
Enter credentials and redirects back to website.
Blows up with the following error message
"IDX21323: RequireNonce is ‘[PII is hidden by default. Set the ‘ShowPII’ flag in IdentityModelEventSource.cs to true to reveal it.]’. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don’t need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to ‘false’. Note if a ‘nonce’ is found it will be evaluated. "

Anyone have any ideas on how to make this work?
Or what to check to figure out the problem?
This was built using the quickstart tutorial for .net4x MVC but being used via webforms.



That’s odd, it shouldn’t throw that error message with the default configuration.

Can you post your Startup.cs code?


Thanks for the reply but since posting this I have changed a slew of code and no longer have the error.


Glad you got it figured out! :+1: