michaeljmarshall opened a new issue, #19291: URL: https://github.com/apache/pulsar/issues/19291
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Version Master (and presumably all others) ### Minimal reproduce step Bug discovered while reviewing the code. Inspect the lifecycle of the [clientAuthData](https://github.com/apache/pulsar/blob/86205a9edfafb8710b24bdb0d2f1db84c5fc1926/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConnection.java#L100) variable. The variable is set to the last `authData` received by the client, which means that for multi-staged authentication, it is not possible to forward the authentication credentials. ### What did you expect to see? I'd expect the protocol to either support forwarding these credentials or to fail when configured to do something it is unable to do correctly. ### What did you see instead? Described above. ### Anything else? For added context, I discussed this issue here: https://github.com/apache/pulsar/pull/18130#discussion_r1080838475. ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- 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: commits-unsubscr...@pulsar.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org