[英]Login redirect a user with Azure AD B2C from an Angular application and msal.js
[英]redirect_uri_mismatch Azure AD B2C with angular using MSAL
在使用loginRedirect()
或acquireTokenRedirect()
,我得到以下给定的错误:
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与我在租户配置中使用的以及在Azure中配置的相同。
请让我知道为什么我每次都会收到redirect_uri_mismatch错误,这段代码发送到redirect_uri_mismatch“AADB2C90006”。 如有任何参考请分享链接。
您需要在B2C Web App配置中添加http:// localhost:4200 / subscription作为回复URL。 该文档应该有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.