简体   繁体   中英

redirect_uri_mismatch Azure AD B2C with angular using MSAL

While using loginRedirect() OR acquireTokenRedirect() , I am getting below given error:

redirect_uri_mismatch:AADB2C90006%3a The redirect URI 'http%3a%2f%2flocalhost%3a4200%2fsubscription' provided in the request is not registered for the client id 'blah-blah-blah'.
Correlation ID%3a 29978079-45a7-4f85-a9bf-4cde9d3adc84
Timestamp%3a 2017-09-29 05%3a32%3a22Z

Note: client id is same which I am using in my tenant config as well as configured in Azure.

Please let me know why I am getting a redirect_uri_mismatch error every time and what is this code post redirect_uri_mismatch "AADB2C90006". If any reference Please share a link.

You need to add http://localhost:4200/subscription as a reply URL in your B2C Web App configuration. This documentation should help.

b2c web app配置

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM