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

Generation of the token #34

Closed
sylvainlap opened this issue Oct 28, 2015 · 2 comments
Closed

Generation of the token #34

sylvainlap opened this issue Oct 28, 2015 · 2 comments
Labels

Comments

@sylvainlap
Copy link

Is this lib responsible for the jwt generation (during the auth process), or is it only responsible for checking a token ?

@mikenicholson
Copy link
Owner

No, this library is not responsible for the generation of the token, only validating existing tokens.

I originally wrote the library to validate tokens created by Android's authentication api.

If you want a tutorial that explains how to create your own tokens you can check out https://scotch.io/tutorials/authenticate-a-node-js-api-with-json-web-tokens#authenticating-and-creating-a-token

@mikenicholson
Copy link
Owner

I'm going to go ahead and close this but feel free to re-open if I didn't answer your question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants