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

JWT support in WebSocket? #690

Open
wanyxkhalil opened this issue Jan 15, 2021 · 3 comments
Open

JWT support in WebSocket? #690

wanyxkhalil opened this issue Jan 15, 2021 · 3 comments
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@wanyxkhalil
Copy link

I'm new in bfe. I found JWT filter working with http but not WebSocket, ws request transfer to backend like no JWT filter. Something I missing?

Modules = mod_auth_jwt
$ http localhost:8080/ws                                                                                                        
HTTP/1.1 401 Unauthorized
@wanyxkhalil
Copy link
Author

目前看到模块在 bfe_server/http_conn.go 501 行里,而 WebSocket 不会进入此行(version: 0.12.0)
image

@iyangsj
Copy link
Member

iyangsj commented Jan 19, 2021

@wanyxkhalil 感谢你的关注!后续版本将支持

@iyangsj iyangsj added question Further information is requested enhancement New feature or request labels Jan 19, 2021
@iyangsj iyangsj added this to the v1.2.0 milestone Jan 19, 2021
@wanyxkhalil
Copy link
Author

Thanks!

@iyangsj iyangsj reopened this Apr 12, 2021
@iyangsj iyangsj modified the milestones: v1.2.0, Proposal Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants