-
Notifications
You must be signed in to change notification settings - Fork 9
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: Support for User Credentials #7
Conversation
Add support for user credentials when they are set via https://cloud.google.com/docs/authentication/application-default-credentials#personal
@stankiewicz I was looking into the auth handler last week and what I think this handler on the client should be doing imho is converting the application default credentials into Example (requires changes in the server auth handler and the :authenticateConnection endpoint):
|
@stankiewicz working with the existing token format, you can use the following snippet to generate the subject for any
|
I did not have the permissions to modify this PR so I created a new one with @sjvanrossum suggestions: #31 |
Closing as alternative fix was merged. |
I faced issue: Unknown credentials type UserCredentials
steps to reproduce:
gcloud auth application-default login
configure callback handler in properties
run kafka producer
Fix is to add support for UserCredentials and pull subject.