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

[FEATURE] Support OAuth authentication in Python client #1779

Description

@sijie

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

Metadata

Metadata

Assignees

Labels

type/featureIndicates new functionality

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions