confluent-kafka-python icon indicating copy to clipboard operation
confluent-kafka-python copied to clipboard

Add new option oauth_cb to SchemaRegistryClient

Open bodepd opened this issue 2 years ago • 1 comments

This patch adds an option to supply an oauth callback to the SchemaRegistryClient so that it accepts oauth tokens in the same way that kafka brokers can receive tokens.

The function passes has the same return types as the same option for kafka so that users can reusing their existing token service for both kafka as well as the schema registry client.

If a user supplies this new option together with BASIC auth configuration, it results in a ValueError.

bodepd avatar Mar 23 '22 22:03 bodepd

I noticed some of the other patches have a CLA notification. Is there a CLA that I need to sign?

bodepd avatar Apr 12 '22 00:04 bodepd

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

cla-assistant[bot] avatar Aug 15 '23 18:08 cla-assistant[bot]