簡體   English   中英

redirect_uri_mismatch Azure AD B2C,角度使用MSAL

[英]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。 該文檔應該有所幫助。

b2c web app配置

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM