Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The nonce cannot be validated issue occurred #37

Open
Nandhakumar2187 opened this issue Aug 30, 2021 · 3 comments
Open

The nonce cannot be validated issue occurred #37

Nandhakumar2187 opened this issue Aug 30, 2021 · 3 comments

Comments

@Nandhakumar2187
Copy link

Hi,
We have received the below error while running this source.

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.

Kindly let us know if anything to be added in startup.cs page.

Thank you in advance.

@Nandhakumar2187 Nandhakumar2187 changed the title The The nonce cannot be validated issue occurred The nonce cannot be validated issue occurred Aug 30, 2021
@jmprieur
Copy link
Contributor

@Nandhakumar2187 did you start the app as http:// wheareas the redirect uri is https:// ?

@Nandhakumar2187
Copy link
Author

Nandhakumar2187 commented Aug 31, 2021

@jmprieur Yes, we have start the app as http://
and we have given the Redirect URI as http://localhost:53016/

@anishninan1984
Copy link

anishninan1984 commented Dec 29, 2022

@Nandhakumar2187 Do you still have the issue persists or any resolution being done. As I am also experiencing the same issue while using localhost as the PostLogoutRedirectUri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants