-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
WebSockets Next: Allow to send authorization headers from web browsers using JavaScript clients #45809
base: main
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'll not waste CI resources and fix docs build failure till I hear from reviewers because I have feeling this could go many ways, maybe even closing this PR completely. |
I thought about it more and I'll drop |
@michalvavrik Hi Michal,
It should definitely not be closed, it is a step in the right direction, this is the most often asked question, how to get the token passed from Java Script WS API, thanks for initiating this work, it is a big deal, IMHO, it might need a bit more work, but I'm actually very positive about your PR. By the way, setting it to Draft is the right way if you expect a few iterations with the PR |
Thanks Sergey, I can make it draft, but yesterday I took it as far as I can without feedback. So I feel like I need @mkouba and @sberyozkin to comment when you have time. |
I'll take a look tomorrow... |
68ae185
to
f23301c
Compare
@sberyozkin @mkouba I reworked PR following Sergey suggestions, please have a look when the time is right for you. Thanks |
This comment has been minimized.
This comment has been minimized.
71d666a
to
a685f36
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🎊 PR Preview 8b6a34f has been successfully built and deployed to https://quarkus-pr-main-45809-preview.surge.sh/version/main/guides/
|
@michalvavrik LGTM, minor suggestions are proposed |
a685f36
to
0ce801f
Compare
I think docs suggestions were great @sberyozkin , I applied them and found related changes. Should be better now. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, it will make a real difference to those users who are struggling with finding solutions to pass tokens. Thanks
@mkouba Martin, please review as well
0ce801f
to
ff7436e
Compare
Status for workflow
|
Status for workflow
|
closes: quarkus-websockets-next connecting from browser with JWT #42824
closes: Provide WebSockets Next support for authenticated JavaScript web socket upgrade and messages #44409
I have tested it in Quickstarts WebSockets Next, I added OIDC, enabled OIDC Dev Svc, got token in DEV UI and passed it as query param to WS JS client and