作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
尝试使用时
this.clientApplication.acquireTokenSilent(scopes)...
AADB2C90146 : The scope 'https://xxx.onmicrosoft.com/xxx/user_impersonation https://xxx.onmicrosoft.com/xxx/user_impersonation openid profile' provided in request specifies more than one resource for an access token, which is not supported.
this.clientApplication.loginRedirect(this.tenantConfig.b2cScopes);
最佳答案
访问 token 与资源相关联。如果您指定映射到多个资源的多个范围,MSAL 不知道要获取访问 token 的哪个范围,因为存在一些歧义。
例如,Scope A.0
, Scope A.1
属于Resource A
Scope B.0
属于Resource B
请求将需要:// Access tokens for Resource A
acquireTokenSilent([Scope A.0, Scope A.1])// Access tokens for Resource B
acquireTokenSilent([Scope B.0])
关于azure-active-directory - 不支持的 MSAL : AADB2C90146 : 'Openid profile' provided in request specifies more than one resource for an access token,',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49362631/
我是一名优秀的程序员,十分优秀!