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

Docs should be updated to include the extended return value for the oauth_cb callback

Open ethaden opened this issue 2 years ago • 1 comments

Description

Currently, the docs to not mention that a method configured as callback for oauth_cb can return two optional values in addition to the required once. Instead of "(token_str, expiry_time)", the return value would looks something like this now: "(token_str, expiry_time [, prinicpal, dict_of_extension_key_value_pairs])"

Particularly when using Azure AD with identity pools, the ability to define values for the extensions "logicalCluster" and "identityPoolId" is mandatory.

ethaden avatar Sep 01 '23 12:09 ethaden