PubSub: Document how to choose the PubSub auth method#8429
Merged
Conversation
xrmx
approved these changes
Jun 21, 2019
Contributor
Author
The link to the library is moved to the first paragraph of the Authentication section for better visibility.
a4f789f to
ced82c7
Compare
parthea
pushed a commit
that referenced
this pull request
Mar 2, 2026
* Document how to choose the PubSub auth method * Give more exposure to google-auth in PubSub docs The link to the library is moved to the first paragraph of the Authentication section for better visibility. * Use publisher audience for the publisher client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #8137.
Describes a possible workaround for #7387, however, it does not close it, the PR just fulfills a GA requirement (documenting a possible workaround).
How to test
Steps to perform:
pubsub/directory):Expected result:
The example is understandable and correct, the links point to correct locations.
Background
The issue itself is hard to reproduce in practice, but it was discovered in other PubSub clients that using JWT-based authentication avoids the issue. The goal of this PR is to document how different auth methods can be used with the Python client.