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

/auth/validate_token works but getting 401 unauthorized when sending request with auth headers #550

Closed
galharth opened this issue Feb 26, 2016 · 3 comments

Comments

@galharth
Copy link

Hi,
I'm building an iOS that works with rails API.
I'm sending the request with the headers using postman.
Using the last devise-token-auth '0.1.37' and rails '4.2.5'.
When using postman I set the content type JSON.
Thanks,
Gal

@phspies
Copy link

phspies commented Jun 7, 2017

Did you managed to resolve this issue?

@Loschcode
Copy link

Did you ?

@phspies
Copy link

phspies commented Dec 11, 2017

For me it seemed to start working when I passed all 5 variables to the endpoint. But I got around this issue by overriding the authentication class with my own.

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

3 participants