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

Scoped DeviseToken but it still affects the original Omniauth redirects. #429

Closed
ACPK opened this issue Nov 2, 2015 · 1 comment
Closed

Comments

@ACPK
Copy link

ACPK commented Nov 2, 2015

I scoped DeviseToken with:

namespace :api, defaults: { format: :json } do
  scope module: :v1, constraints: ApiConstraints.new(version: 1, default: true) do
    mount_devise_token_auth_for 'User', at: 'auth'
  end
end

However, I still get when testing my original Omniauth which isn't part of the API yet:

DeviseTokenAuth::OmniauthCallbacksController#redirect_callbacks
@ACPK
Copy link
Author

ACPK commented Nov 2, 2015

All set!

@ACPK ACPK closed this as completed Nov 2, 2015
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

1 participant