Skip to content

fix: fallback to GCP metadata if authorized_user credentials#30

Draft
russtaylor wants to merge 1 commit into
mainfrom
russt.unsupported-credentials-authorized-user-fallback
Draft

fix: fallback to GCP metadata if authorized_user credentials#30
russtaylor wants to merge 1 commit into
mainfrom
russt.unsupported-credentials-authorized-user-fallback

Conversation

@russtaylor
Copy link
Copy Markdown
Member

Description

Adds a fallback to the GCP tokensource when encountering a unsupported credentials type: authorized_user error. This often indicates that a user has manually run gcloud auth application-default login. Unfortunately this caused an immediate failure with no fallback.

This adds an explicit fallback to the GCP metadata server in case it encounters an issue from this exact case.

Adds a fallback to the GCP tokensource when encountering a `unsupported
credentials type: authorized_user` error. This often indicates that a
user has manually run `gcloud auth application-default login`.
Unfortunately this caused an immediate failure with no fallback.

This adds an explicit fallback to the GCP metadata server in case it
encounters an issue from this exact case.
@russtaylor russtaylor requested a review from a team as a code owner June 1, 2026 20:59
@russtaylor russtaylor marked this pull request as draft June 1, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant