Prompt
refresh token expired oauth app
Latest observation
Oct 6, 2026
OpenAI APIWeb search: off
If your OAuth refresh token expired, it usually means the app can no longer silently get new access tokens. You’ll need to re-authorize the app to get a new refresh token.
What to do
- Sign the user out / disconnect the account in your app.
- Run the OAuth authorization flow again.
- Make sure your app requests offline access (provider-specific), so a new refresh token is issued.
Common provider notes
- Google: use
access_type=offlineand oftenprompt=consentto force a new refresh token. - Microsoft: refresh tokens can rotate and may expire based on policy; reauth may be required.
- GitHub: typically uses long-lived tokens rather than classic refresh tokens in many flows.
- Auth0 / Okta / others: refresh token lifetime is often configurable; expired tokens must be replaced by a fresh auth flow.
Important
If you’re seeing:
invalid_grantrefresh_token expiredtoken revokedconsent required
…it usually means the refresh token is no longer usable and must be replaced.
If you want, tell me which provider (Google, Microsoft, Slack, etc.) and I can give the exact fix and parameters.