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

API authentication. Method not allowed 405. Use POST /sign_in to sign in. GET is not supported. #900

Closed
jvalenciag opened this issue Jun 9, 2017 · 1 comment

Comments

@jvalenciag
Copy link

Hi,
I am using devise_token_auth to authenticate an API of my web app, everything works fine on staging environment, but when I try to sign in to my API in production I got this error:

405 method not allowed
"errors": [
    "Use POST /sign_in to sign in. GET is not supported."
  ]

I am not using any omniauth service, I read other people with a similar issue but they were trying to integrate to other service. Any clue of what is going wrong in the production environment?

@jackpope
Copy link

jackpope commented Jun 1, 2019

@jvalenciag Why did you close this? Did you find a solution? I'm running into the same problem in my local environment.

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

2 participants