Loahrs commented on issue #433:
URL:
https://github.com/apache/pulsar-helm-chart/issues/433#issuecomment-1895726200
Running `./bin/pulsar tokens show -f /pulsar/tokens/proxy/token` throws a
NullPointerException for me:
```
I have no name!@pulsar-proxy-0:/pulsar$ ./bin/pulsar tokens show -f
/pulsar/tokens/proxy/token
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because
"value" is null
```
I copied the token from the file and ran `./bin/pulsar tokens show -i
<token>` and it returned:
```
{"alg":"RS256","typ":"JWT"}
---
{"sub":"proxy-admin"}
```
> You shouldn't be using the proxy-admin token yourself.
You are right. I am fairly new to pulsar, so I took that token to test
authorization/authentication, assuming that it will just work since it is a
superuser token. Creating a separate token for my client will be a next step 😅
Using the proxy-admin token should work (even if it's a very bad practice)
right?
--
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]