Skip to content

Google Drive/Slides extensions don't trigger OAuth re-authentication when token is expired/revoked #7334

@jschaer-wq

Description

@jschaer-wq

Google Drive and Google Slides extensions fail to trigger the OAuth re-authentication flow when the token is expired or revoked. The extensions return invalid_grant: Token has been expired or revoked errors but never prompt the user to sign in again.

Steps to Reproduce:

Revoke Goose Google Workspace MCP access from Google account permissions (myaccount.google.com/permissions)
Delete local token file (~/.config/goose/mcp-gdrive/gcp-oauth.keys.json)
Restart Goose Desktop
Try to use any Google Drive or Google Slides tool
Expected: Extensions should detect missing/invalid credentials and trigger OAuth sign-in flow

Actual: Extensions return "invalid_grant" error repeatedly without prompting for re-authentication

Note: Gmail extension works correctly and DOES trigger re-auth when its token is invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions