Skip to content

"RPError: nonce mismatch, expected undefined, got: ..." error when using federated identities #456

Answered by panva
lpsinger asked this question in Q&A
Discussion options

You must be logged in to vote

It's not an openid-client bug and you've just disabled a very rudimentary check of openid connect. I would not call that a workaround, that's a dangerous action. Sounds like a bug in the IdP openid-client talks to, meaning Cognito.

This check is not meant to be disable-able with null by users, so i'll likely just fix that and devise different means of passing internal signals when nonce is to be ignored (e.g. id token returned from refresh token grant.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@lpsinger
Comment options

Answer selected by lpsinger
Comment options

You must be logged in to vote
6 replies
@lpsinger
Comment options

@panva
Comment options

@panva
Comment options

@lpsinger
Comment options

@lpsinger
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants