Skip to content
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

The action 'twitter' could not be found for DeviseTokenAuth::OmniauthCallbacksController #309

Closed
PenguinOfWar opened this issue Jul 18, 2015 · 4 comments

Comments

@PenguinOfWar
Copy link

Hi there,

Unfortunately getting this error on the oauth2 callback.

The action 'twitter' could not be found for DeviseTokenAuth::OmniauthCallbacksController

Same thing happens for Facebook. The call redirects to the social network fine, but then fails on the callback.

As far as I can tell, routes and initializers are configured correctly and all gems are up to date.

routes.rb

 mount_devise_token_auth_for 'User', at: 'auth'

config/initializers/omniauth.rb

provider :facebook,      [redacted], [redacted]
provider :twitter, [redacted], [redacted]

Everything else in the gem works perfectly fine.

@akber4747
Copy link

@PenguinOfWar did you ever resolve this? I'm in the same boat.

@PenguinOfWar
Copy link
Author

Unfortunately not. I need to delve into it in a bit more detail, but I just haven't had the time.

If I find a solution, I'll definitely advise you.

@PenguinOfWar
Copy link
Author

I updated everything once again to the latest versions and this went away, but was replaced with another issue. Am closing this to open a new issue.

@akber4747
Copy link

@PenguinOfWar thanks for replying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants