The OpenID client is not authenticating via custom 3rd party Code Workflow. It is very close, but hitting nonce cookie issues driving me insane - can someone help??? #18327
Replies: 1 comment
-
As is so frequent, I have found the issue with the "nonse" parameter - I was using the "state" parameter instead ooops - all good!! Orchard is fantastic! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I don't include "nonce" in the Token the handshake crashes:
OpenIdConnectProtocolInvalidNonceException: IDX21320: RequireNonce is 'True'. OpenIdConnectProtocolValidationContext.Nonce and OpenIdConnectProtocol.ValidatedIdToken.Nonce are both null or empty. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'.
When I do include "nonce" from the "state" in the Token - it also crashes but a bit different:
OpenIdConnectProtocolInvalidNonceException: IDX21323: RequireNonce is 'True'. 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 am wasting my life away with this please help
Beta Was this translation helpful? Give feedback.
All reactions