-
Hello. In 92ffee5 a check was added that would reject The issue is that Facebook always returns "id_token" in its OAuth flow. There is an alternate OpenID flow but it does not support the "code" authentication type. We can't handle this nicely since we don't know if the response contains an "id_token" before triggering an I would be curious to hear what you think? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
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. |
Beta Was this translation helpful? Give feedback.
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.