C
C
calculator2122021-08-02 17:24:48
JSON Web Token
calculator212, 2021-08-02 17:24:48

Implementing JWT Authentication?

I'm trying to implement JWT authentication and I have a few questions. To delog, you need to create a blacklist with a list of non-valid refresh tokens, do I understand correctly that, in theory, you will also need to store a list of revoked access tokens, while they are valid, tk. to ensure instant logout on all devices, will it be necessary to deny access to them as well? Am I correct or not?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2021-08-02
@calculator212

You just came up with a reference token. Better implement it right away. Because in the implementation you provided, jwt is more harmful than useful.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question