issues
search
DY-WhatSong
/
BE-What_Song
🎵 플레이리스트 취향을 공유하고 친구를 만들자 🎵
1
stars
0
forks
source link
Stomp CORS 이슈 : CustomFilter로 인하는 Stomp Cors발생
#36
Closed
seonghoo1217
closed
1 year ago
seonghoo1217
commented
1 year ago
Issue
현재 WS(WebSocket) 관련 Config class인
StompConfig
에 Cors 설정을 별도로 해주었지만, Client와의 Connect시에 발생하는 Cors 이슈
트러블 슈팅을 위해 Security관련 Filter 및 설정 값을 초기화
그 결과, Custom Filter 중 하나인 JWT 토큰 관련 필터 설정이 Stomp Connection을 막는다는 것을 알게됨
Trouble Shooting
Filter에 Stomp 관련 Connection 요청시의 별도 동작로직 구현
itsChrisJang
commented
1 year ago
감사합니다.
Issue
StompConfig
에 Cors 설정을 별도로 해주었지만, Client와의 Connect시에 발생하는 Cors 이슈Trouble Shooting