hi-rustin commented on issue #20367:
URL: https://github.com/apache/pulsar/issues/20367#issuecomment-1559054335
@nodece I tried:
```sh
bin/pulsar tokens create-key-pair --output-private-key my-private.key
--output-public-key my-public.key
```
```yaml
PULSAR_PREFIX_brokerClientAuthenticationParameters:
"{\"type\":\"client_credentials\",\"privateKey\":\"/conf/client_credentials.json\",\"issuerUrl\":\"https://trial-2125918.okta.com/oauth2/default\",\"scope\":
\"pulsar\", \"audience\": \"api://default\"}"
PULSAR_PREFIX_tokenPublicKey: "file:///pulsar/my-public.key"
LOGGING_LEVEL: debug
```
But got the same error.
[test_with_public_key.log](https://github.com/apache/pulsar/files/11542839/test_with_public_key.log)
I have a question: What is the connection between this
tokenSecretKey/tokenPublicKey with the okta OAuth mechanism? Are they related,
and is `tokenSecretKey/tokenPublicKey` stuff just a verification mechanism
between Pulsar and its client?
Thanks for your help!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]