Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: deprecate UserAccessTokenCredentials #1344

Merged
merged 1 commit into from
Jul 6, 2023
Merged

fix: deprecate UserAccessTokenCredentials #1344

merged 1 commit into from
Jul 6, 2023

Conversation

arithmetic1728
Copy link
Contributor

fix #1341

UserAccessTokenCredential was initially added for mTLS feature since at that time user credentials had issues (which is already fixed now). Therefore we want to deprecate UserAccessTokenCredential since it's google-auth specific, and not available in other languages. Users are recommended to use user credentials instead (google.oauth2.credentials.Credentials), which is a generic application default credential type available in all languages. To use it, simply run gcloud auth application-default login and let the client libraries automatically use it.

@arithmetic1728 arithmetic1728 requested review from a team as code owners July 6, 2023 21:39
@arithmetic1728 arithmetic1728 merged commit 5f97fe9 into main Jul 6, 2023
12 checks passed
@arithmetic1728 arithmetic1728 deleted the deprecate branch July 6, 2023 22:15
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.

Token refresh on each API request when using UserAccessTokenCredentials
2 participants