You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like Apple performs a POST to the redirect uri instead of the usual OAuth flow. I assume that the error you see happens at that stage since the POST triggers the CSRF check.
There are some interesting links in this issue with all sorts of solutions (watch out for the insecure hacks!).
I'd speculate that in the process of moving to Kamal, some other workarounds that your company had in place were removed.
Context: Apple sign-in with omniauth-apple worked fine until a week ago when the company moved the app to Kamal. We started getting this error:
I found a suggestion to forward the
X-Forwarded-Proto
andX-Forwarded-Ssl
headers. TheX-Forwarded-Proto
is configurable in Kamal but it didn't fix the issue.X-Forwarded-Ssl
doesn't seem to be configurable.I also found a suggestion to set the
Origin
header to your own domain, but I don't think that's configurable with Kamal.Is there another way to configure these headers? Any help fixing this issue is appreciated too.
The text was updated successfully, but these errors were encountered: