The issue was that admin disabled the Include ID Token in OAuth token option for the app that was being used for authentication.
"id_token" is not present in Oauth2 token received from Microsoft login, even though "openid" scope was requested and granted
ashutosh
5
Reputation points
I am using Microsoft as an Identity provider in my application. The problem is that sometimes I am not receiving "id_token" in Oauth2 token response even though I am requesting "openid" scope (scopes requested: openid profile email) everytime.
I am using the common authorization and token endpoints: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
3,299 questions
Microsoft Security | Microsoft Identity Manager
903 questions