加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

redirect_uri_mismatch Azure AD B2C,角度使用MSAL

发布时间:2020-12-16 06:54:06 所属栏目:百科 来源:网络整理
导读:在使用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-b
在使用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

Note: client id is same which I am using in my tenant config as well
as configured in Azure.

请让我知道为什么我每次都会收到redirect_uri_mismatch错误,这段代码发送到redirect_uri_mismatch“AADB2C90006”.如有任何参考请分享链接.

解决方法

您需要在B2C Web App配置中添加 http://localhost:4200/subscription作为回复URL. This documentation应该有所帮助.

b2c web app configuration

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读