-
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
Devise and devise_token_auth omniauth callbacks #184
Comments
It is possible to use this gem alongside standard Devise. What are the steps to reproduce the |
It occurs when I am trying to access |
@lynndylanhurley Any insight on this issue? |
@springerigor Did you find a solution? |
Nope, it's obsolete so I'm closing this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using devise_token_auth version 0.1.30 with Devise 3.4.0
routes.rb
looks like:Sign up and sign in paths for devise_token_auth works fine. But
/api/auth/:provider/
returnsWhen I moved
mount_devise_token_auth_for
outsideapi
namespace an error occured:ArgumentError: Invalid route name, already in use: 'new_user_session'
as both Devise and devise_token_auth_for generate the same routenew_user_session
.My main goal is to have different omniauth callbacks for Devise and token authentication (mobile app). I have two different controllers but I am unable to provide two different routes for them.
The text was updated successfully, but these errors were encountered: