-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Msal AADB2C90085 on redirect after custom policy flow #6389
Comments
Hey @adnan-ashfaq , can you share trace level logs for this issue by setting the logLevel to Trace? Thanks! |
@adnan-ashfaq Can you also please share your network trace on my email? |
Just Sent. Can you confirm you've received it? |
I received the logs but not the network trace! |
Just sent them. It says file too big. Rejected from your server. |
Attached is the zipped har file.
From: Lalima Sharda ***@***.***>
Sent: Friday, August 25, 2023 5:28 PM
To: AzureAD/microsoft-authentication-library-for-js ***@***.***>
Cc: Adnan Ashfaq ***@***.***>; Mention ***@***.***>
Subject: Re: [AzureAD/microsoft-authentication-library-for-js] Msal AADB2C90085 on redirect after custom policy flow (Issue #6389)
I received the logs but not the network trace!
-
Reply to this email directly, view it on GitHub<#6389 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVW7F5Y5NBJL2PYZ7ESS253XXEKEVANCNFSM6AAAAAA35UPOFQ>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Hey @adnan-ashfaq , the network trace you shared does not show the /authorize call. Can you please collect another trace and make sure it contains the /authorize and /token request & response? Also, can you please double check your code to see if you have a custom method for building a redirect URI somewhere and if it is generating the correct redirect URI? I do not see anything wrong with the redirect URI in your request to /token call. |
Hey @lalimasharda I have just sent the complete Network log from when user sign-in to completing the flow and redirecting to the url. And yes, I have confirmed we do not have any custom method the redirect uri. |
Hi @lalimasharda @sameerag , any update on the issue? |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
5 similar comments
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
Hi, Any update on the issue? |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
@sameerag Waiting for update on the issue. |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
1 similar comment
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
Closing as this is a stale issue. If the issue still persist, please raise a new issue and preferably on the latest MSAL JS version. |
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
2.28.2
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.4.2
Public or Confidential Client?
Public
Description
I am implementing B2c custom MFA and PasswordRest flow in our angular app. However, after the flow is completed the msal is appending http with the redirect url. For instance if the redirect url is
www.abc.com
, after redirect it'swww.abc.com/https:
. In the browser console I get the following errorsPOST https://qhrdqab2cmedeo.b2clogin.com/qhrdqab2cmedeo.onmicrosoft.com/b2c_1a_signup_signin/oauth2/v2.0/token 400 (Bad Request)
ServerError: invalid_grant: undefined - [undefined]: AADB2C90085: The service has encountered an internal error. Please reauthenticate and try again.
@azure/[email protected] : Error - Guard - error while logging in, unable to activate
MSAL Configuration
Relevant Code Snippets
Identity Provider
Azure B2C Custom Policy
Source
Internal (Microsoft)
The text was updated successfully, but these errors were encountered: