confluentinc / confluentinc/confluent-kafka-python

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

Open
#1,634 1 comment 0 reactions 0 assignees View on GitHub
docs priority:high
Dominant language
Python
Stars
509
Forks
964
Avg merge
2d 2h
Merged PRs (30d)
14

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.