Login with token refresh
Sequence diagram with 3 participants and 7 steps.
Browser
Auth service
User DB
POST /login
SELECT user
row
verify password hash
Passwords are salted
and hashed (argon2id)
200 + access & refresh tokens
Stores tokens
Login with token refresh