Thursday, 2 April 2020

How to distinguish tokens issued by my web server and tokens provided by users who signed in using google oauth tokens?

So, I have a node js server that has a sign in with google option and with the regular username and password combination. For future requests when a user sends me the token how would I know whether I should use my jwt key to verify the token or to use Google's API. Any help would be really appreciated.

Submitted April 02, 2020 at 12:22PM by HoloCroc

No comments:

Post a Comment