Azure AD B2C令牌终结点返回范围斜线

时间:2019-11-27 13:06:38

标签: ios azure azure-active-directory azure-ad-b2c msal

我正在尝试使用Azure MSAL(https://github.com/AzureAD/microsoft-authentication-library-for-objc)集成SSO授权。

但是我得到一个错误:

Error Domain=MSALErrorDomain Code=-50003 "(null)" UserInfo={MSALDeclinedScopesKey=(
    "{client_id}"
), MSALGrantedScopesKey=(
    "/"
), MSALErrorDescriptionKey=Server returned less scopes than requested, MSALInvalidResultKey=<MSALResult: 0x600000fc6340>}

我查看了对token端点的请求,它看起来像是:enter image description here

所以我看到了"scope": "/",看来这里有一个错误。

我正在使用Identity Experience Framework和自定义策略。我现在正在寻找如何将响应从服务器更改为作用域字段。

是否有可能做到这一点?

0 个答案:

没有答案