身份验证会导致Azure功能使用状态代码404响应

发布于 2025-02-03 20:45:08 字数 326 浏览 2 评论 0原文

我在消耗层上有6.0个过程中的Azure Azure函数v4,效果很好。 我想将AAD B2C身份验证添加到该函数中,并通过APIM的validate-jwt策略调用该功能。

每当我配置设置>身份验证该功能将进行404。我认为这不是一个冷启动问题,不仅是延迟,而且该应用程序不会返回。

我尝试以“ Microsoft”作为提供商和“ OpenID Connect”来设置它。在B2C租户下,该功能有一个专用的AppRegistration,我正在生成客户ID&秘密,应用于此选项卡。

不确定在哪里查找详细信息,而是设置身份验证会导致某些配置肯定会变坏。

I have a 6.0 in-process Azure Function v4 on consumption tier which works just fine.
I want to add AAD B2C authentication to the function, and call the function through APIM's validate-jwt policy.

Whenever I configure Settings > Authentication the function goes 404. I don't think it's a cold start issue, it's not just a delay, but the app doesn't come back.

I tried setting it up both with "Microsoft" as a provider and "OpenID Connect". There is a dedicated AppRegistration for this Function under B2C tenant and I'm generating client id & secret on it, applying to this tab.

Not super sure where to look for details, but setting Authentication causes some configurations to go bad for sure.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文