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

Devise omniauth_path_prefix overriden #610

Closed
valentindruon opened this issue Apr 14, 2016 · 2 comments
Closed

Devise omniauth_path_prefix overriden #610

valentindruon opened this issue Apr 14, 2016 · 2 comments

Comments

@valentindruon
Copy link

Can you tell me where this route redirects ?

/api/auth/:provider

in rake routes :

GET /api/auth/:provider(.:format) redirect(301)

@valentindruon
Copy link
Author

I found it, but can you tell me why this line in 'lib/devise_token_auth/engine.rb' ?

::OmniAuth::config.path_prefix = Devise.omniauth_path_prefix = self.omniauth_prefix

It makes Devise.omniauth_path_prefix being overriden and when working with Devise + devise_token_auth getting conflicts when using omniauth

@valentindruon valentindruon changed the title Redirect(301) ? Devise omniauth_path_prefix overriden Apr 14, 2016
@zachfeldman
Copy link
Contributor

Hi there @vdruon ,

In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!

If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.

Hope all is well.

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

No branches or pull requests

2 participants