redirect_uri_mismatch Azure AD B2C with angular using MSAL

五迷三道 提交于 2020-01-24 04:19:06

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/46482671/redirect-uri-mismatch-azure-ad-b2c-with-angular-using-msal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!