Skip to content
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 with Webflux and Basic Authentication: Does not work together? #12701

Closed
bollywood-coder opened this issue Mar 30, 2018 · 2 comments
Closed
Labels
for: stackoverflow A question that's better suited to stackoverflow.com

Comments

@bollywood-coder
Copy link

Problem Statement
Spring does not authenticate the websocket handshake with spring security turned on.

Dependencies

  • Spring Boot 2.0.0
  • Spring Security 5.0.3
  • Spring WebFlux 5.0.4

Stackoverflow
Please see my stackoverflow question for clarification with code.

Bug or Feature?
I have no idea if this is the indented behaviour or bug. If its intended behaviour I would eager to know how to configure it right. I have searched the webflux docs but could not find anything or elsewhere in the Internet.

Minimum Working Example
If you need a minimum working ready example on Github please let me know.

Thanks
Rene

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 30, 2018
@philwebb
Copy link
Member

@bollywood-coder I'd certainly recommend adding a sample to your stack-overflow question. You're much more likely to get help if you do.

I'm not sure this is a Spring Boot issue (unless we're not configuring something correctly). It seems more likely that you've hit a limitation of WebFlux or Spring Security. I'll close this issue and we can keep the conversation on stackoverflow until we know if this is a bug or not and where it should be raised.

/cc @rstoyanchev @rwinch in case they've seen this before.

@philwebb philwebb added for: stackoverflow A question that's better suited to stackoverflow.com and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 30, 2018
@rwinch
Copy link
Member

rwinch commented Mar 30, 2018

There isn't support for WebSocket + WebFlux support yet. I created spring-projects/spring-security#5188 to track this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: stackoverflow A question that's better suited to stackoverflow.com
Projects
None yet
Development

No branches or pull requests

4 participants