Web Security · Middle · Question 45 of 75

Why are access tokens usually short-lived (minutes) while refresh tokens live longer?

Explanation

Access tokens travel to many APIs and are easier to leak. Refresh tokens go only to the auth server, where they can be revoked.

Further reading

Problem with a question

Web Security · Middle · question 45

Test yourself

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

Take this quiz