无法从 Azure AB B2C 元数据访问 Issuer url:错误 404
Cannot access Issuer url from Azure AB B2C metadata : Error 404
为了在 Microsoft Dynamics 门户中实施 Azure AD B2C,我遵循了 this series of article。
我创建了一个新的 Azure AB B2C,将其链接到我的 Azure 订阅(如果有帮助,可以免费订阅),创建了一个 Azure 应用程序,一个注册或登录策略。
然后我点击元数据 url (https://login.microsoftonline.com/tfp/MyJavistaB2CPocTest.onmicrosoft.com/B2C_1_SUSI/v2.0/.well-known/openid-configuration),选择 Issuer url 并将其粘贴到浏览器中。
出现 404 错误。
我寻求了一些帮助,帮助我的人有一个发行人 url,其中包括租户,例如:
https://login.microsoftonline.com/tfp/tenant.onmicrosoft.com/b2c_1_susi/v2.0/
而我的有一个 guid(也许这是一个线索,但不能说):https://login.microsoftonline.com/tfp/8701db3f-1609-4337-8e6d-b5a32d537c54/b2c_1_susi/v2.0/
无法联系到颁发者 url 的原因可能是什么(这使得我的 Dynamics 门户无法联系 Azure AD B2C)?
谢谢
issuer
值不是端点 URL。
相反,应用程序必须将 Azure AD B2C 颁发的 ID 和访问令牌中的 iss
声明与 issuer
值相匹配,以确保这些令牌有效。
在 Dynamics 365 中,您应该使用以下 URL 配置 Authentication/OpenIdConnect/[Federation-Name]/Authority
(在 Azure AD B2C provider settings for portals 文章中描述为 "Policy-Signin-URL"),Dynamics 365 将从中发现Azure AD B2C 终结点:
https://login.microsoftonline.com/tfp/MyJavistaB2CPocTest.onmicrosoft.com/B2C_1_SUSI/v2.0
为了在 Microsoft Dynamics 门户中实施 Azure AD B2C,我遵循了 this series of article。
我创建了一个新的 Azure AB B2C,将其链接到我的 Azure 订阅(如果有帮助,可以免费订阅),创建了一个 Azure 应用程序,一个注册或登录策略。
然后我点击元数据 url (https://login.microsoftonline.com/tfp/MyJavistaB2CPocTest.onmicrosoft.com/B2C_1_SUSI/v2.0/.well-known/openid-configuration),选择 Issuer url 并将其粘贴到浏览器中。
出现 404 错误。
我寻求了一些帮助,帮助我的人有一个发行人 url,其中包括租户,例如: https://login.microsoftonline.com/tfp/tenant.onmicrosoft.com/b2c_1_susi/v2.0/
而我的有一个 guid(也许这是一个线索,但不能说):https://login.microsoftonline.com/tfp/8701db3f-1609-4337-8e6d-b5a32d537c54/b2c_1_susi/v2.0/
无法联系到颁发者 url 的原因可能是什么(这使得我的 Dynamics 门户无法联系 Azure AD B2C)?
谢谢
issuer
值不是端点 URL。
相反,应用程序必须将 Azure AD B2C 颁发的 ID 和访问令牌中的 iss
声明与 issuer
值相匹配,以确保这些令牌有效。
在 Dynamics 365 中,您应该使用以下 URL 配置 Authentication/OpenIdConnect/[Federation-Name]/Authority
(在 Azure AD B2C provider settings for portals 文章中描述为 "Policy-Signin-URL"),Dynamics 365 将从中发现Azure AD B2C 终结点:
https://login.microsoftonline.com/tfp/MyJavistaB2CPocTest.onmicrosoft.com/B2C_1_SUSI/v2.0