Describe the bug
A clear and concise description of what the bug is. First of all. i made the code about SSE Without Spring Security . at that time, SSE Code works well !! but since applying Spring security, i see 403 Forrbiden Error...
Do I need a specific setup for SSE connections?
about this issue, i ties to solve this problem below are things that i tried to solve (i`m not use proxy server )
- Use Eventsourcepolyfill for Custom Headers
- PermitAll for Endpoints in Security
- CORS application at front and back end
- CSRF disabled
To Reproduce
Expected behavior
Sample
https://github.com/hanwha-be09-4vengers/Yoribogo/tree/feature/main-question/server here is my Repo.
SSE codes are in notification -> controller and service
Comment From: caolian2003
i solved this issue.
the problem was parsing Error in Front ( token parsing Error in header )