Azure-Samples / ms-identity-java-webapp

A Java web application calling Microsoft graph that is secured using the Microsoft identity platform
MIT License
118 stars 105 forks source link

Token algorithm changed? #86

Open shiv-ang-i opened 1 year ago

shiv-ang-i commented 1 year ago

Hi, when I am using the latest downloaded application [ms-identity-java-webapp], it gives me a token that is not getting parsed it gives below exception "com.nimbusds.jose.JOSEException: Unsupported JWS algorithm RS256, must be HS256, HS384 or HS512".

But when I am using the old downloaded project [ms-identity-java-webapp] ( which was downloaded by me in sept 2021), the token by this project is getting parsed. Why the token doesn't work for the newer version of the app?