-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
NoMethodError at /omniauth/facebook/callback - undefined method `[]' for nil:NilClass #76
Comments
Thanks @ignacykasperowicz - I'll look into this ASAP. |
Hey, As I dived into the code I found out that you've added: I'm using in my routes:
in order to handle the callback before it gets redirected by Angular router with hash
so simply I was redirecting to wrong method in my routes. I have to dig more into new version of Gem to understand the changes. Cheers! |
@ignacykasperowicz how did you solve it? I'm stuck with the same problem. |
@stefanahman Hmmm, I do not think I was looking at it after in more details, I decided to switch to Ember and used other library for authentication. The issue here was that in |
Hi @kspe , I got the same error using the following request:
The gem is mounted on the path /api/ v1/auth. Is there a parameter missing in the request? |
Hi,
I've updated to:
and now after redirect to
/auth/facebook/callback
I get:NoMethodError at /omniauth/facebook/callback undefined method
[]' for nil:NilClass`in
omniauth_success devise_token_auth (0.1.30) app/controllers/devise_token_auth/omniauth_callbacks_controller.rb:24
when trying to access auth_hash.
I've tried to clean all browser cache/cookies, removed user from DB in order to have clean installation.
The text was updated successfully, but these errors were encountered: