-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access token in the query string working fine in the connection establishing but not being sent in the next requests #78
Comments
Can you share the source code. Thanks |
@motasemloubani91 |
@rho-cassiopeiae @mohachouch In my case. the client implementation is sending two request. The first one with the token (a regular http-request) and the second one a http request with the mentioned Upgrade header (to websockets), but this request doesn't have the Authorization header. So it can't go through the auth / authorization pipeline. This is the first request headers read by the server: The second request: This is the relevant part of the code:
|
As a hacky workaround I've added an Authorization header to the ws request in web_socket_channel_io.dart
|
The first request in the connection is authorized using the access token in the query string, but the next requests are not authorized and keep giving me 401, any help please, we are stuck
We are stuck now from days ago, we need asap support if possible, please?
The text was updated successfully, but these errors were encountered: