Skip to content

Consumer Gmail: any way around the 7-day token expiry? #121

@jeanregisser

Description

@jeanregisser

I wanted to use gogcli with my personal @gmail.com account, but noticed that refresh tokens expire after 7 days because my OAuth app is in Testing mode.

Tried switching to Production mode, but that's blocked - the Gmail scopes include restricted scopes which require going through Google's full app verification process. That doesn't seem really viable for personal use.

I also looked at using Workspace with an Internal app to sidestep verification, but that only works if I migrate to a Workspace mailbox. It doesn't help for accessing a consumer Gmail account.

So the options I'm seeing are:

  1. Live with re-auth every 7 days
  2. Pay for Workspace and move my mail there
  3. Go through Google's verification process

Am I missing something? Is there another way to make this work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions