Apple Omniauth - HTTP Origin 标头 (https://appleid.apple.com) 与 request.base_url (https://myurl.com) 不匹配
我试图在我的 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 技术交流群。

我还不知道。但看起来宝石“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.