Apple Omniauth - HTTP Origin 标头 (https://appleid.apple.com) 与 request.base_url (https://myurl.com) 不匹配

发布于 01-12 02:46 字数 189 浏览 4 评论 0原文

我试图在我的 Rails 应用程序中实现 omniauth-apple ,并在苹果重定向到我的页面后收到以下错误。

HTTP Origin 标头 (https://appleid.apple.com) 与 request.base_url (https://myurl.com) 不匹配

有人知道解决方案吗?

i am trying to implement omniauth-apple in my rails app and get the following error after apple redirects to my page.

HTTP Origin header (https://appleid.apple.com) didn't match request.base_url (https://myurl.com)

Does anyone know a solution?

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

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

发布评论

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

评论(1

故事与诗2025-01-19 02:46:04

我还不知道。但看起来宝石“omniauth-apple”没有得到妥善维护。因此,我建议从头开始构建它和/或使用 gem 'apple_id' 来加快部分开发速度。

I don't know yet. but looks like the gem 'omniauth-apple' is not properly maintained. So I would recommend building it from scratch and/or use the gem 'apple_id' to expedite part of the development.

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