vnovick / graphql-jwt-tutorial

279 stars 45 forks source link

Secret Token Usage #2

Open nkabbara opened 4 years ago

nkabbara commented 4 years ago

Thank you so much for writing "The Ultimate Guide to handling JWTs on frontend clients".

I noticed that you're setting secret_token on the /register endpoint. If I'm not mistaken this seems superfluous since the user has many refresh_tokens.

Is this right? If not, let me know, I'll submit a PR.

Thanks!

-Nash

Ciboulette commented 4 years ago

I think you're right, the secret_token in the /register endpoint is useless