H
H
heducose2017-07-23 00:42:22
JSON Web Token
heducose, 2017-07-23 00:42:22

When to provide an id_token and when an access_token? How to use them correctly?

JWT. How and when to apply them?
Here, for example, 3 scenarios: SIGNUP, LOGIN, SECRET_ROUTE.
Do I need to provide both tokens on SIGNUP?
When passing through SECRET_ROUTE, check only access_token?
Why is id_token needed then?
What to issue if the user comes from a clean browser to LOGIN (i.e. already registered user)?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question