OAuth 2.0 and Azure Active Directory - error AADSTS90009

前端 未结 1 1433
南方客
南方客 2020-12-10 12:51

I\'m trying to authorize access to our web application by using OAuth 2.0 and Azure AD. Guide here.

The user is redirected to similar URL:

https://lo         


        
相关标签:
1条回答
  • 2020-12-10 13:16

    This error is saying that the field you provided in the resource parameter is requesting tokens for itself. In the case you do want to get a token for the app specified in the client_id, then you have to pass the client_id in the resource field rather than the app ID URI. At which point you will receive an access token for self.

    Alternatively, you can provide an app ID URI of a web API you've registered or another resource with scopes to get tokens for that resource (Microsoft Graph, Office API, etc).

    0 讨论(0)
提交回复
热议问题