Skip to main content

Google Troubleshooting

YouTube token expiration

A Google Cloud Platform project that has an OAuth consent screen configured for external users and set to a Testing publishing status will have its refresh tokens expire in 7 days.

Solution: To extend the lifespan of the refresh tokens, change the status of your OAuth Consent screen to Production. This change requires you to pass all necessary validations, with the exception of those using the application internally rather than as Software as a Service (SaaS).