Forum Discussion
orchidc
Aug 14, 2020Copper Contributor
Authenticating Web App with access token returns a HTML response
Hi All,
We have a web app that is registered in the Azure AD and user are able to access the app with their AD account. The app has API as well that we want to get the response but this time an integration using Access Token, we are able to get the access token via postman provided secret, client id and tenant id, etc. following from this document https://docs.microsoft.com/en-us/graph/auth-v2-user#:~:text=Azure%20AD%20will%20sign%20the,endpoint%20for%20an%20access%20token.
But when we try to use the Access Token in Postman with the web app it only returns the login html. Same URL when we access to browser, after login using AD user it returns a json response.
Is there something I missed in the document?
- Indranil_10Copper ContributorI am getting the same error. Have you solved it ?