Authenticating Web App with access token returns a HTML response

Copper Contributor

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%...

 

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?

2020-08-14_20-38-57.png2020-08-14_20-41-42.png

2 Replies

@orchidc Hi! Faced same issue. How did you fix this?

I am getting the same error. Have you solved it ?