Skip to content

Cannot open token authentication #14591

@Steve0x2a

Description

@Steve0x2a

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

Desktop (please complete the following information):

  • OS: Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions