-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Labels
BugSomething isn't working, needs an investigation and a fixSomething isn't working, needs an investigation and a fixP2Normal priority items, should be done after P1Normal priority items, should be done after P1SupportabilityFor issues related to improving the customer support experienceFor issues related to improving the customer support experiencepublic-clientFor questions/issues related to public client appsFor questions/issues related to public client apps
Description
I am using the InteractiveRequestParameters to acquiring the token Interactively, which is working properly when there are no problems.
But when there are problems, like the authorization code isn´t provided to the redirect url, then the only message from the browser is:
Authentication failed. You can return to the application. Feel free to close this browser tab.
Error details: error {0} error_description: {1}
I captured the request, and the error and error_description are present - so the MSAL gets this information, but did´t return it in their response to the browser.
This is the captured request (I truncated it a bit)
POST http://localhost:12345/ HTTP/1.1
Content-Type: application/x-www-form-urlencoded
error=invalid_request&error_description=AADB2C90146%3A+The+scope+%27openid+profile+offline_access...
My Questions:
- Is this a bug or do I miss something.
- How can I get the
erroranderror_descriptionprogrammatically? I already activated DEBUG Level logging but I only get:
"Exception in thread "main" java.util.concurrent.CompletionException: com.microsoft.aad.msal4j.MsalClientException: No Authorization code was returned from the server" instead of the real reason, which is statet in 'error_description'
Thank you in advance :)
probert94
Metadata
Metadata
Assignees
Labels
BugSomething isn't working, needs an investigation and a fixSomething isn't working, needs an investigation and a fixP2Normal priority items, should be done after P1Normal priority items, should be done after P1SupportabilityFor issues related to improving the customer support experienceFor issues related to improving the customer support experiencepublic-clientFor questions/issues related to public client appsFor questions/issues related to public client apps