Skip to content

gmail.settings.basic scope missing from auth login scope picker — cannot create Gmail filters #668

@joel-odlund

Description

@joel-odlund

Description

The gmail users settings filters create command exists in gws and is correctly documented, but it cannot be used because gmail.settings.basic is not available as a selectable scope in gws auth login.

Steps to reproduce

  1. Run gws auth login — the scope picker shows 9 scopes, Gmail is represented only by gmail.modify
  2. Authenticate with all available scopes selected
  3. Run:
    gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "example@domain.com"}, "action": {"addLabelIds": ["Label_1"]}}'
    
  4. Receive:
    {"error": {"code": 403, "message": "Request had insufficient authentication scopes.", "reason": "insufficientPermissions"}}

Expected behaviour

gmail.settings.basic should be available in the scope picker (or included alongside gmail.modify), so that users.settings.filters.* commands work.

Environment

  • gws version: latest
  • OS: macOS (darwin 25.4.0)
  • Account type: personal @gmail.com

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