Skip to content

checks.state argument is missing #553

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

You must be logged in to vote

That example you follow didn't pass state to its authorization request, you did, which is why you must pass the same state you sent to the authorization endpoint to the callback method checks.

Same goes for nonce btw. If you sent one in, you must pass the same one to checks. If you didn't there's a known bug in cognito where they will put a random one in, so to avoid it you should pass one to the authorization endpoint.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by revmischa
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