Nov 24 2020
12:47 AM
- last edited on
Jan 14 2022
04:27 PM
by
TechCommunityAP
Nov 24 2020
12:47 AM
- last edited on
Jan 14 2022
04:27 PM
by
TechCommunityAP
I am referring Java code for Azure AD SSO.
https://docs.microsoft.com/en-us/samples/azure-samples/active-directory-java-webapp-openidconnect/in...
I am trying to check the sample Java Azure AD project provided by Microsoft and I am getting an error when trying to authenticate
I created my app, so I have my client_id, whose Sign-On URL is
http://localhost:8181/adal4jsample.
Then, I configured my tenant name and client id in the web.xml, and once I launch the web app I can "log in" but, when I come back to my domain I see the error. jsp page.
After debugging, I can see that
AuthHelper.containsAuthenticationData(httpRequest)
is giving false because the request parameter map does not contain the ID_TOKEN or CODE. Actually, it is empty. Below method returns false, getting all filed as false.