Skip to content

Issue with "id_token" check in "oauthCallback" flow #459

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

You must be logged in to vote

Are you saying you don't know what type of authentication request you triggered? Because you either trigger an openid connect flow (regardless of what response_type) with the openid scope or you don't. Meaning on callback you either use callback or oauthCallback. You always know what you expect from the callback upfront.

Basically, if you run into the check the fix added, you're using the client wrong. The value is there, if you do trigger openid requests you ought to take advantage of it, routing those responses to oauthCallback is wrong, unintended, and removes the many checks openid connect puts in place.

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@panva
Comment options

@panva
Comment options

@panva
Comment options

@aidenfoxx
Comment options

@aidenfoxx
Comment options

Answer selected by aidenfoxx
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