-
-
Notifications
You must be signed in to change notification settings - Fork 742
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
Subscription authorization #1319
Labels
📚 documentation
This issue is about working on our documentation.
❓ question
This issue is a question about feature of Hot Chocolate.
Milestone
Comments
Authentication over web sockets works differently, read the following issue on ASP.NET Core for more infos: |
michaelstaib
added
📚 documentation
This issue is about working on our documentation.
❓ question
This issue is a question about feature of Hot Chocolate.
labels
Dec 31, 2019
@Alan5142 did you solved authentication implementation in Subscription, I Have the sam problem with Hot Chocolate 11? |
@AlonsoHernandez99 IIRC I sent the authorization code in the query string but ain't secure. You can send the token in a header, keep in mind that you need to handle this in a custom |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
📚 documentation
This issue is about working on our documentation.
❓ question
This issue is a question about feature of Hot Chocolate.
I have a question, how can I use authorization in subscriptions?
Below is my app configuration
Authorization works in Query and Mutation but in Subscription
ClaimsPrincipal
doesn't exist, so I think the token is not being sent to the server.Subscription user is not authorized
Mutation authorization
The text was updated successfully, but these errors were encountered: