question

RadhaRajendran-9030 avatar image
0 Votes"
RadhaRajendran-9030 asked sikumars commented

Token validation failed : 401 unauthorized

Hi Team

I am trying below example.

https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server

I have registered one web API and client API. In client API i have added the scope of web API.

Now i generated the token using user name and password for client api and when i tried to pass the generated token to web api, i am getting 401 unAuthorized.

Please find the attached document for complete reference.
85475-demo-web-api-demo-client-api-converted.pdf
Any leads would be appreciate


azure-active-directory
· 3
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.

Thanks for reaching out.

I am looking into this thread, I will update you with my findings. Thanks.

0 Votes 0 ·

Just checking in to see if the below answer helped. If this answers your query, please don’t forget to click "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.
Thanks,

0 Votes 0 ·

0 Answers