![](/img/trans.png)
[英]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.