-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when callback ? #64
Comments
I am getting exactly the same error. |
Hey @classicboy check this out: #54 (comment) and https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284 |
Hello everyone, I was getting an "Can't verify CSRF token authenticity" after Apple sign in page. |
See this interesting discussion from the Discourse guys trying to implement Apple SSO on their website. The trouble is Apple using a
From testing with Apple SSO on the Discourse website, it looks like this is what they are doing. Hope this helps! |
@esellin thanks for the answer ! I finally managed to make it work by adding |
Is it possible to implement something like Discourse plugin solution https://github.com/discourse/discourse-apple-auth/blob/40ef076fa744d562ce54f3f30921a1b387e042fb/lib/omniauth_apple.rb#L60 in this gem? |
@esellin Your solution worked for me, though I had to also pass through Anybody have ideas? |
Did you solve your issue @wilg? |
I think I did get it working but can't look up the solution at this moment. |
No worries @wilg I will keep investigating, the thing is that I am working with a Rails API and the solution from @Meat-Chopper does not work for me. If I find the answer I will post it here. |
set |
Instead of opening up the session to potential security risks, we may merge #107 and allow the nonce to be stored in its own encypted cookie? |
I am using this gem together with Devise for 'Sign in with Apple' feature from my web. Everything work fine when redirect to Apple Sign in page. But after succesful sign in, a callback to my web and error happen ( in local enviroment ).
I only can fix this error if add protect_from_forgery prepend: true, only: :apple to the top of OmniauthCallbacksController. But I dont think this is the right way to fix it.
The text was updated successfully, but these errors were encountered: