Error in Chrome & Edge DX21323 RequireNonce is 'System.Boolean', but it works good in Firefox

I have created an mvc 5 web application using .net 4.7.2
I have implemented Okta Open ID connect by following the official documentation Add and configure packages | Okta Developer

You can access it on my test demo at

This seems working good in Firefox, however when I use this using Chrome or Edge, after doing login at Okta, I get weird error IDX21323: RequireNonce is ‘System.Boolean’. 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.

I have searched a lot for the solution but could not see any specific solution. Can someone please help.


Please check if this article helps.

Thanks Erik, The provided article worked for me. I applied SSL to the website and it worked.

Thanks again!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.