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

The validate_token function in the readme is missing a parameter #413

Closed
Carrigan opened this issue Oct 16, 2015 · 0 comments
Closed

The validate_token function in the readme is missing a parameter #413

Carrigan opened this issue Oct 16, 2015 · 0 comments

Comments

@Carrigan
Copy link
Contributor

Thanks for the great gem! I was setting this up and testing the endpoints using the readme documentation and kept having the /validate_token endpoint fail. After searching around a bit, I found that this endpoint requires three things: the uid and access-token as listed in the readme, but also the client header given in the sign-in request. Once client was added, everything worked just fine.

I will follow this with a PR shortly to correct this documentation as well as noting that the client and access-token are given back in the headers of the /sign_in response since this was not immediately obvious. Hope that this helps!

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