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

Failed to validate data received from authorization service-External Tomcat #63

Closed Springtomcat closed 3 years ago

Springtomcat commented 3 years ago

Hi, I am facing issue(Failed to validate data received from authorization service) when deploying the app msal-java-webapp-sample on tomcat 9.0.38.It is working fine(getting user details from azure AD) when running the code from VS code IDE or as Springboot app(mvn spring-boot:run).I have also tried excluding embedded tomcat in pom file but no luck. I have also done change in main file to run on tomcat as per instructions given in sample. Tomcat:9.0.38 Springboot version:2.1.4

Avery-Dunn commented 3 years ago

Hello @Springtomcat : Could you provide more of the error message you're getting? The "Failed to validate" part is the start of an error message, but we'd need some more info to know what's going on.

Does the error happen only when you're deploying, or when you go to a certain page/the app makes a certain request?

sangonzal commented 3 years ago

Closing due to no response. Feel free to reopen with more details.