U
U
user_of_toster2020-12-13 11:26:06
Mobile development
user_of_toster, 2020-12-13 11:26:06

What is the advantage of token authorization over session authorizations?

If I want to add the ability to ban a user, then I need to make a request to the user database with each user request.

The question is - in this case, does token-based have any advantages over session-based authorizations? After all, stateless is lost.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2020-12-13
@Sanes

Tokens are designed for API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question