question

INDRANILGANGULY-3756 avatar image
0 Votes"
INDRANILGANGULY-3756 asked JamesTran-MSFT edited

Azure giving html response sign in to your account

I am using Azure authentication to the get access token and once i get the token using the redirect uri i try to access the resource but i am getting Sign in to your account HTML response which comes with response code 200. Unfortunatly i cannot share the code as it is againts company policy. Can anyone help if you have faced such issue.

azure-ad-authentication
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@INDRANILGANGULY-3756
Thank you for your post and I apologize for the delayed response!

When it comes to getting the access token, are you able to share the documentation you followed? This way I can gain a better understanding of your issue and try to replicate this on my end.


If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·

Hi @JamesTran-MSFT Please find the documentation i am following in below link.
auth-v2-user

Also i have asked the question in stackoverflow, whcih you can find in the link below.
authenticating-web-app-with-access-token-returns-a-html-response


0 Votes 0 ·
JamesTran-MSFT avatar image JamesTran-MSFT INDRANILGANGULY-3756 ·

@INDRANILGANGULY-3756
Thank you for the quick follow up on this! Since you're currently working with our engineers on Stack Overflow, I'd recommend continue to work with them on that platform.

However, when it comes to getting access on behalf of the user, does this work outside of Postman? Or does this HTML login response only occur within Postman? Based off the Consent experience section of the documentation it does look like this could be the intended behavior.


If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·
Show more comments

0 Answers