How can I use upgradeWebSocket with bearer jwt authentication? #2534
Unanswered
jonasfroeller
asked this question in
Q&A
Replies: 1 comment
-
I found out, that the jwtMiddleware doesn't seem to work with cookies and the cors middleware as well as .route crashed the websocket endpoint with the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I protected my route group with the jwt middleware and I am using upgradeWebSocket.
If i send a request to the websocket endpoint with a Authorization: Bearer header I get this error and my api crashes:
Beta Was this translation helpful? Give feedback.
All reactions