-
Notifications
You must be signed in to change notification settings - Fork 176
Undefined "token_type" #317
Comments
@tomdean Yes, something changed in Azure side. Please use the code in |
Can we please get some details? My understanding was that this library is maintained by Microsoft and as such there should be communication structures, etc in place to make sure this sort of thing doesn't happen in production. |
@abramz Azure AD v2 endpoint used to send back an access token when we request authorization code, and they no longer did that since yesterday. This library expects and tries to validate the token, and causes the problem. |
I would say that this issue is far from closed. This is not aimed at you specifically, but at the PMs and leadership that you are working with. For the past few months now, we have had several issues with the V2 API and what it sends. First, with varying payload bodies where we are now checking 3 or 4 different fields for an email address, and now this. This library is maintained by Microsoft and was broken by Microsoft. What is your leadership doing to prevent such occurrences from repeating? What communication structures need to be put in place to avoid this from happening, etc? This was an entirely internal issue that cropped up in production for your users, how are you guys going to avoid this from happening again? I know it isn't going to hurt Microsoft-- it certainly won't hurt us, but we are seriously considering dropping our OAuth support for Microsoft accounts because of the headaches v2 has caused. |
I've started suddenly getting an error during the OAuth2 process after the user has been redirected back.
Strategy: OIDC
Response Type: "id_token code"
Response Mode: form_post
Versions:
passport-azure-ad@3.0.6
oauth@0.9.14
The
items
object does not have a token_type property - the only key present isid_token
.Stopped suddenly working without any changes/pushes (app was running fine yesterday, not so fine today). Could Microsoft/Azure changed something on their end?
The text was updated successfully, but these errors were encountered: