-
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
No route matches [GET] "/omniauth/sign_in" #199
Comments
Hi, Andrey. Try to mount devise token auth outside api namespace like this mount_devise_token_auth_for 'User', at: '/auth'
namespace :api, defaults: { format: :json } do
scope module: :v1, constraints: ApiConstraints.new(version: 1, default: true) do
resources :users do
end
end
end |
Hi @baramik, when I do that I again get Do you may be know how to overcome this issue? Did you manage to resolve it? because I see your similar issue is closed by now |
@lynndylanhurley hey, how would i deal with |
Why do you want to deal with it, as you don't need it ? |
The only thing I want is to be able to reach /auth/sign_in point without having this error :) |
Why do you want to reach /auth/sign_in with a GET request ? On Wed, Apr 1, 2015 at 1:10 PM Andrey Deineko notifications@github.com
|
How would I change the request type? I was following this tutirial on establishing authentication and apparently author doesn't say anything regarding request method. |
What do you want to do ? Register a new user ? Login an existing user ? Can you show me some code ? |
My code is pretty much what is shown in the tutorial I linked in previous comment.. |
i am getting this error too when i try to sign up. I get the error the action 'new' could not be found for DeviseTokenAuth::RegistrationsController. How do i solve this problem? I cant seem to find any solution online |
You don't need to access this route. On Sun, Apr 12, 2015 at 4:29 AM Kingsley Simon notifications@github.com
|
Hi there @andreydeineko , 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. |
In
routes.rb
I have following:It produces such route:
But when visiting the route, it changes path to
saying
No route matches [GET] "/omniauth/sign_in"
.When I simplify routes to
it produces
but throws:
Unknown action The action 'new' could not be found for DeviseTokenAuth::SessionsController
Some additional info:
Gem versions:
devise_token_auth (0.1.31), devise (~> 3.3)
Also I try to use ng-token-auth.
Any chance to get it working? Huge thanks for advice
The text was updated successfully, but these errors were encountered: