API Design · Middle · Question 33 of 75

Why should access tokens be short-lived?

Explanation

Self-contained JWTs are hard to revoke, so short lifetimes limit the damage.

Further reading

Problem with a question

API Design · Middle · question 33

Test yourself

Take the API Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz