examples icon indicating copy to clipboard operation
examples copied to clipboard

Add oauth2 example for node js client

Open tuteng opened this issue 3 years ago • 2 comments

  • Wait for this pr https://github.com/apache/pulsar-client-node/pull/190 to be merged before processing this pr

tuteng avatar Jan 15 '22 13:01 tuteng

@tuteng I noticed that the node.js client support Oauth2 authentication has been merged into the community. How about our SN process? Thanks.

Huanli-Meng avatar Jan 28 '22 09:01 Huanli-Meng

The issuer_url should be obtained from the private key file, in preference to a command-line parameter (which would be needed if not using a private key file).

It seems that most language clients do not follow this specification -> https://pulsar.apache.org/docs/security-oauth2#c-client @EronWright

tuteng avatar Sep 07 '22 00:09 tuteng