redirect_uri_mismatch使用ADAL与Azure AD B2C配合使用角度 [英] redirect_uri_mismatch Azure AD B2C with angular using MSAL
问题描述
使用loginRedirect()
或acquireTokenRedirect()
时,出现以下给定错误:
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
注意:客户端ID与我在租户配置中使用的ID相同 在Azure中配置.
Note: client id is same which I am using in my tenant config as well as configured in Azure.
请让我知道为什么每次我都会收到redirect_uri_mismatch错误,以及重定向_uri_mismatch"AADB2C90006"中的这段代码是什么.如果有任何参考,请分享链接.
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.
推荐答案
您需要添加 http://localhost:4200 /subscription 作为B2C Web应用程序配置中的回复URL.
You need to add http://localhost:4200/subscription as a reply URL in your B2C Web App configuration. This documentation should help.
这篇关于redirect_uri_mismatch使用ADAL与Azure AD B2C配合使用角度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!