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

get_user_credentials needs to migrate away from OOB flow #184

@tswast

Description

@tswast

"redirect_uris": ["urn:ietf:wg:oauth:2.0:oob"],
is deprecated.

Instead, needs some logic like https://github.com/pydata/pydata-google-auth/blob/master/pydata_google_auth/_webserver.py to find an open port and run a server.

Unfortunately, this means the method will not work on remote systems.

Alternatively, try to use token_usage=remote flow similar to gcloud CLI --no-browser option.

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions