在Azure ADB2C中配置自定义OpenID提供商(使用.NET 6和Identity Server4)给出错误

发布于 2025-02-13 15:40:42 字数 414 浏览 2 评论 0 原文

我已经使用.NET 6和Identity Server创建了一个OpenID提供商4,现在我试图将其用作ADB2C中的自定义标识提供商,以下配置下提供了 每次都不知道错误,不确定它出现在哪里以及位置:

I have created an OpenID provider using .Net 6 and Identity server4, now I am trying to use this as custom Identity provider in ADB2C, provided below configurations
Configuration
Getting below error everytime, not sure what and where it is going wrong:
Error

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

感情旳空白 2025-02-20 15:40:42

用户身份提供商调试的用户流量有限。问题通常归结为错误的OpenID配置,秘密或要求映射。一个已知的问题是由端点广告EC键引起的,因为Azure AD B2C仅支持RSA广告密钥。

为了获得更多用户端调试功能,我建议您切换到使用应用程序见解进行故障排除并使用在此期间获得的相关ID过滤您的日志 错误。您将需要 vs code

要进行其他调试,请随时粘贴您的应用程序见解日志减去任何PII(个人身份信息)信息。如果您想在此处坚持使用用户流粘贴,则错误消息中显示的调试信息(相关ID + TIMESTAMP)。

User side Identity Provider debugging is limited for User Flows. Problems usually boil down to incorrect openid config, secret or claim mappings. A known issue is caused by endpoint advertising EC keys since Azure AD B2C only supports RSA advertised keys.

In order to gain more user side debugging capabilities I suggest you switch to custom policies and follow the steps documented in Troubleshooting with Application Insights and filter your logs using the correlation ID obtained during the error. You will need VS Code and the Azure AD B2C extension.

For additional debugging feel free to paste your app insights logs minus any PII (Personally identifiable information) information. In case you want to stick to User Flows paste here the debugging information (correlation id + timestamp) displayed in the error message.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文