For an external Google OAuth app in Testing, refresh tokens generally expire after seven days when the app requests scopes beyond basic identity information. If scheduled work depends on a token lasting longer, publish the consent screen to the appropriate production state first—and check verification requirements for the scopes you use. Production tokens are not permanent: Google may revoke them, and prolonged inactivity can also cause expiration.
What the seven-day limit applies to
Google documents the seven-day refresh-token limit for an OAuth project configured for an external user type with its publishing status set to Testing. The exception is an app requesting only basic identity scopes for a user’s name, email address, and profile; the seven-day rule should not be applied unconditionally to that setup. Google’s OAuth documentation describes the token-expiration conditions.
As an Amazon Associate I earn from qualifying purchases.
A refresh token is used to obtain new access tokens without asking a user to authorize again. If it expires, an integration that depends on it may need the user to authorize the app again. This makes Testing a poor state for unattended, recurring work when the app needs scopes beyond basic identity.
Testing, production, and user type are different settings
Testing and In production are publishing statuses. External and Internal are user types. For an external app in Testing, access is generally limited to Google Accounts listed as test users, with a cap of 100 test users. Google documents an exception to those Testing restrictions for apps requesting only basic identity scopes. Google’s OAuth consent screen publishing guidance explains the statuses and testing limits.
#1 Best Overall
- POWERFUL SECURITY KEY: The Security Key C NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
- WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key C NFC secures 100 of your favorite accounts, including email, password managers, and more.
- FAST & CONVENIENT LOGIN: Plug in your Security Key C NFC via USB-C and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
- TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
- BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.
Internal is intended for users in the relevant Google Workspace or Cloud Identity organization; it is not simply another name for production. Organization administrator policies may also restrict access. Confirm the project’s user type rather than assuming that publishing status alone determines who can authorize.
Publish before relying on recurring authorization
Google recommends publishing an app before relying on its refresh tokens for ongoing production work. In production, refresh tokens generally do not expire just because a short Testing window has elapsed, but they can still be revoked or expire after prolonged inactivity—typically six months, according to Google’s documentation. Review Google’s stated expiration and revocation conditions before designing recovery behavior.
Rank #2
- POWERFUL SECURITY KEY: The YubiKey 5C NFC is the most versatile physical passkey, protecting your digital life from phishing attacks. It ensures only you can access your accounts
- WORKS WITH 1000+ ACCOUNTS: Compatible with popular accounts like Google, Microsoft, and Apple. A single YubiKey 5C NFC secures 100+ of your favorite accounts, including email, password managers, and more
- FAST & CONVENIENT LOGIN: Plug in your YubiKey 5C NFC via USB and tap it, or tap it against your phone (NFC), to authenticate. No batteries, no internet connection, and no extra fees required
- MOST SECURE PASSKEY: Supports FIDO2/WebAuthn, FIDO U2F, Yubico OTP, OATH-TOTP/HOTP, Smart card (PIV), and OpenPGP. That means it’s versatile, working almost anywhere you need it
- PRIMARY & SPARE KEYS: Just like having a spare house key, we recommend buying two YubiKeys - one for daily use and one as a spare. That way you’ll never get locked out of your accounts
- Use separate OAuth projects for testing and production. This keeps development configuration distinct from the credentials and consent screen used by the live app. Google recommends separate projects for testing and production.
- Inventory the scopes the live app actually needs. Keep the requested permissions limited to the necessary functionality, and determine whether any are sensitive or restricted.
- Configure the production OAuth client. Set the client and authorized redirect origins for the actual live application, rather than relying on development values.
- Review the consent screen and verification requirements. Confirm the user type, branding, and scopes, then publish to the appropriate production state. Publishing does not by itself complete every review.
- Authorize and test the production flow. Confirm that the deployed app can obtain and refresh tokens, and provide a way to reconnect if a token is revoked or expires.
Publishing does not mean verification is complete
Moving an external app to production and completing verification are related but distinct steps. Whether Google requires brand review or scope verification depends on factors including user type, branding, and requested scopes. An unverified published app may display warnings and face user limitations; do not assume that selecting In production removes them. Check the requirements for the precise scopes in the project. Google’s verification guidance covers app and scope verification.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Plan for tokens to stop working
Production is the appropriate publishing state for recurring work, not a guarantee of a token’s lifetime. Handle refresh failures by stopping dependent work safely and prompting an authorized user to reconnect when needed. Avoid treating a token created during Testing as a durable production credential; use the production project’s own client and authorization flow.
Quick Recap
Best Value
- Security Key : Protect your online accounts against unauthorized access by using FIDO2 and U2F authentication with T110. It's the world's most protective security key that works with windows, Mac OS, Linux as well as Chrome, Firefox, Edge and many other major browsers.
- Certified with the new FIDO2 standard, T110 provides the benefit of fast login and strong protection against phishing, account takeover as well as many other online attactks.
- Works with : Bank of America, Github, Google, Microsoft, DUO, Twitter, Facebook, Dropbox, Apple, ebay, BINANCE, mor and more.
- Fits USB-A port : Insert the T110 security key into the USB-A port of each service and log in conveniently with one touch
- For the driver download and user guide, please visit TrustKey Solutions Home support page.
Rank #4
- POWERFUL SECURITY KEY: The Security Key NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
- WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key NFC secures 100 of your favorite accounts, including email, password managers, and more.
- FAST & CONVENIENT LOGIN: Plug in your Security Key NFC via USB-A and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
- TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
- BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.
Rank #3
- POWERFUL SECURITY KEY: The YubiKey 5 NFC is the most versatile physical passkey, protecting your digital life from phishing attacks. It ensures only you can access your accounts
- WORKS WITH 1000+ ACCOUNTS: Compatible with popular accounts like Google, Microsoft, and Apple. A single YubiKey 5 NFC secures 100+ of your favorite accounts, including email, password managers, and more
- FAST & CONVENIENT LOGIN: Plug in your YubiKey 5 NFC via USB and tap it, or tap it against your phone (NFC), to authenticate. No batteries, no internet connection, and no extra fees required
- MOST SECURE PASSKEY: Supports FIDO2/WebAuthn, FIDO U2F, Yubico OTP, OATH-TOTP/HOTP, Smart card (PIV), and OpenPGP. That means it’s versatile, working almost anywhere you need it
- PRIMARY & SPARE KEYS: Just like having a spare house key, we recommend buying two YubiKeys - one for daily use and one as a spare. That way you’ll never get locked out of your accounts
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




