examples icon indicating copy to clipboard operation
examples copied to clipboard

Add C++ and Python example for OAuth2 with scope field

Open BewareMyPower opened this issue 4 years ago • 0 comments

These two PRs have been cherry-picked to branch-2.8 and included in 2.8.1.10 release.

  • https://github.com/apache/pulsar/pull/12305 introduces the support for scope field in OAuth2 authentication.
  • https://github.com/apache/pulsar/pull/12341 fixes the incorrect implementation of OAuth2 authentication for some OAuth2 provider like Azure.

This PR adds the related examples for C++ and Python client.

In addition, this PR introduces a better way to configure OAuth2 params for C++ client by passing a ParamMap object.

BewareMyPower avatar Oct 20 '21 15:10 BewareMyPower