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(auth): default gRPC token type to Bearer if not set #9800

Merged
merged 3 commits into from Apr 18, 2024

Conversation

codyoss
Copy link
Member

@codyoss codyoss commented Apr 18, 2024

As documented on auth.Token.Type, if the value of Type is "" it should be treated as a Bearer token. Added a similar helper method as we have in the httptransport package to default this.

As documented on auth.Token.Type, if the value of Type is "" it
should be treated as a Bearer token. Added a similar helper method
as we have in the httptransport package to default this.
@codyoss codyoss added the automerge Merge the pull request once unit tests and other checks pass. label Apr 18, 2024
@gcf-merge-on-green gcf-merge-on-green bot merged commit 5284066 into googleapis:main Apr 18, 2024
8 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 18, 2024
@codyoss codyoss deleted the grpc-header branch April 18, 2024 15:40
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.

None yet

2 participants