You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using io.quarkus:quarkus-websockets and would like to authorize the handshake request. Since the JavaScript WebSocket API doesn't allow the Authorization header to be sent, I'd like to use the Sec-WebSocket-Protocol header for this, and it works fine when I set quarkus.oidc.token.header=Sec-WebSocket-Protocol (quarkus.oidc.token.header is used in BearerAuthenticationMechanism), but unfortunately I have to use that header in the rest of the app as well. It would be great if I could specify two headers like this: quarkus.oidc.token.header=Authorization,Sec-WebSocket-Protocol
Description
I am using io.quarkus:quarkus-websockets and would like to authorize the handshake request. Since the JavaScript WebSocket API doesn't allow the Authorization header to be sent, I'd like to use the Sec-WebSocket-Protocol header for this, and it works fine when I set
quarkus.oidc.token.header=Sec-WebSocket-Protocol
(quarkus.oidc.token.header is used in BearerAuthenticationMechanism), but unfortunately I have to use that header in the rest of the app as well. It would be great if I could specify two headers like this:quarkus.oidc.token.header=Authorization,Sec-WebSocket-Protocol
Implementation ideas
The text was updated successfully, but these errors were encountered: