Skip to content

Add posibility to attach passport context to upgrade request #330

Answered by enisdenjo
Morishiri asked this question in Q&A
Discussion options

You must be logged in to vote

When using useServer, the context holds the WebSocket and the initial request in the extra prop.

Sadly, I've never used Passport before, so I cannot tell you what exactly the issue is - but since you're using Cookies, I guess Passport has to be a middleware that is run before ever establishing a WebSocket connection.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@enisdenjo
Comment options

@Morishiri
Comment options

@enisdenjo
Comment options

@Morishiri
Comment options

@enisdenjo
Comment options

Answer selected by enisdenjo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #329 on March 09, 2022 09:22.