Skip to content

people me/whoami fails when OAuth client project lacks People API #461

@cct08311github

Description

@cct08311github

Repro on gog v0.11.0 with a valid OAuth account:

  • gog drive ls succeeds
  • gog gmail search succeeds
  • gog calendar calendars succeeds
  • gog me and gog whoami fail with: Google API error (403 accessNotConfigured): People API has not been used in project ... before or it is disabled.

This makes profile discovery depend on the OAuth client project having People API enabled even when the account is otherwise authenticated and other services work.

A safer behavior would be to fall back to token/id-token identity claims or degrade gracefully instead of failing hard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions