WebSockets with authentication #46524
colesturza
started this conversation in
Community
Replies: 1 comment 1 reply
-
I ran into a similar issue when I was playing around using Quarkus as a backend for my Godot game a few years back. I just handled it in a similar way to how I think normally rest is handled, by creating a JWT and validating against that Here is the relevant code |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
Over the past few days, I’ve been exploring ways to add authentication to the original Jakarta EE specification implementing extension, but I wasn’t able to find many helpful examples or clear documentation on the topic. I realize that WebSockets Next has become the preferred extension for most use cases now, but for those of us who are still working with the original implementation, I wanted to share my solution with the community. Hopefully, it will be useful for other developers facing similar challenges.
Looking forward to any feedback or additional insights!
Beta Was this translation helpful? Give feedback.
All reactions