Steve0x2a opened a new issue #14591:
URL: https://github.com/apache/pulsar/issues/14591


   **Describe the bug**
   Cannot open token authentication.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. download pulsar 2.9.1 in release
   2. edit `conf/standalone.conf`
   ```conf
   # Enable authentication
   authenticationEnabled=true
   
   # Authentication provider name list, which is comma separated list of class 
names
   
authenticationProviders=org.apache.pulsar.broker.authentication.AuthenticationProviderToken
   
   # Enforce authorization
   authorizationEnabled=true
   
   # Authorization provider fully qualified class-name
   
authorizationProvider=org.apache.pulsar.broker.authorization.PulsarAuthorizationProvider
   
   tokenSecretKey=/path/to/my-secret.key
   ```
   No other configuration changes
   3. run `bin/pulsar standalone`
   4. See error
   
   **Expected behavior**
   pulsar runs normally and opens token authentication
   
   **Screenshots**
   ![YI87WG7C9(B6 
5Y`C1MV}W](https://user-images.githubusercontent.com/17063270/157150876-f1b8c0d2-aaa6-42ac-bf28-4993d0fd4ae8.jpg)
   
   
   **Desktop (please complete the following information):**
    - OS: Ubuntu
   
   
   


-- 
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]


Reply via email to