tuteng opened a new issue #9854:
URL: https://github.com/apache/pulsar/issues/9854


   **Is your feature request related to a problem? Please describe.**
   Some users want to use a WebSocket client with authentication on the browser 
to connect to the pulsar service, but the current authentication information, 
such as the token, cannot be set to the header, which prevents sending 
authentication information to the pulsar cluster
   
   **Describe the solution you'd like**
   A clear and concise description of what you want to happen.
   Some related solutions: 
https://stackoverflow.com/questions/4361173/http-headers-in-websockets-client-api
   
   **Describe alternatives you've considered**
   
   We can consider adding support for some authentication plugins 
https://github.com/apache/pulsar/blob/1d6aa57f1f8ead378a9d103190156c9b45589e41/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/AuthenticationProviderToken.java#L158,
 such as reading authentication token information from query parameters, 
cookies, or `ws://to...@example.com/path`
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to