Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

"https://www.googleapis.com/auth/bigquery" scope is unecessary #1444

Description

@tswast

"https://www.googleapis.com/auth/bigquery",

"https://www.googleapis.com/auth/cloud-platform" is a superset of "https://www.googleapis.com/auth/bigquery". We should only need 1, and per the rest of cloud we should use "https://www.googleapis.com/auth/cloud-platform"

Note: I'm filing this issue due to googleapis/google-cloud-python#15196. I believe that even after the issue identified there is addressed (default scopes shouldn't cause user/impersonated credentials to downscope), google-auth might be downscoping credentials unnecessarily because it sees the "bigquery" scope and it's not present by default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery API.type: processA process-related concern. May include testing, release, or the like.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions