Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

[FEATURE] Support OAuth authentication in Python client #1779

Open
sijie opened this issue Mar 29, 2023 · 0 comments
Open

[FEATURE] Support OAuth authentication in Python client #1779

sijie opened this issue Mar 29, 2023 · 0 comments
Assignees
Labels
type/feature Indicates new functionality

Comments

@sijie
Copy link
Member

sijie commented Mar 29, 2023

Is your feature request related to a problem? Please describe.

The Python Client doesn't support OAuth2 authentication yet.

Describe the solution you'd like

You can provide an implementation of such a function:

def _get_token():
   # TODO: return a token and the expire time

and pass this function to oauth_cb. See example: https://github.com/confluentinc/confluent-kafka-python/blob/master/examples/oauth_producer.py#L32

Describe alternatives you've considered

N/A

Additional context

N/A

@sijie sijie added the type/feature Indicates new functionality label Mar 29, 2023
@BewareMyPower BewareMyPower self-assigned this Mar 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature Indicates new functionality
Projects
None yet
Development

No branches or pull requests

2 participants