+ Start a Discussion

Access token

I know that refresh tokens only last two hours but access tokens last longer. My question is: how long do access tokens last? A month? A year? Forever?






You have it back to front. refresh tokens last until they are revoked by the user or admin. access tokens expire after some amount on inactivity (the exact amount depends on the org settings, see the session expiration setting in the security section of setup, it can be anywhere between 30 minutes and 8 hours).