PrepZone Logo
PrepZone
Back to Microservices

Microservices · Medium

Explain token expiration and refresh in microservices authentication.

MicroservicesSecuritySenior

Answer preview

Access tokens are short-lived (5-30 minutes) for security. Refresh tokens are long-lived (hours to days) and used to obtain new access tokens without re-authentication.…