-
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
Can't Authenticate via cURL #105
Comments
When u look at the DeviseTokenAuth::SessionsController, there's not new action. I don't know why |
@dyaa - I'll look into disabling the When using curl, you will need to send the correct auth headers for restricted routes. Otherwise you will get the |
@dyaa - I just read your issue more carefully. The I would like to disable the route completely, but according to this SO post, removing it will be more trouble than it's worth. Let me know if the existence of the route is causing any serious problems, otherwise I'm closing this issue. |
I'm trying to test the api access via PostMan Client on Chrome with BasicAuth and it return
Get http://192.168.10.111:3000/api/auth/sign_in with username and password.
also when i'm trying to get 192.168.10.111:3000/api/v1/blogs/ it respond with
All this issues are the same when using cURL.
The text was updated successfully, but these errors were encountered: