Hi,
Below post explain how to validate JWT issued by Azure AD in java script:
https://www.voitanos.io/blog/validating-azure-ad-generated-oauth-tokens/
You have to pay attention to the aud claim and properly check the signature.
Hope this helps!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, I am authenticating the user of my SPA application, I followed:
https://learn.microsoft.com/en-us/azure/active-directory/develop/single-page-app-quickstart?pivots=devlang-angular
I received the token, but I would like to verify in java, if this token is the right one, but I am not finding how I can do this, any help on how I can verify the backend with this token
Hi,
Below post explain how to validate JWT issued by Azure AD in java script:
https://www.voitanos.io/blog/validating-azure-ad-generated-oauth-tokens/
You have to pay attention to the aud claim and properly check the signature.
Hope this helps!
Hello @Rafael Massinatore , for a generic approach take a look to Validate JWT tokens using JWKS in Java.
Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.