Spring boot websockets with JWT auth problem | Sololearn: Learn to code for FREE!


Spring boot websockets with JWT auth problem

Hey, im creating an app in which users can communicate via private messages. Im using jwt to validate the logged user. I have a problem with reaching backend by my front end, handshake is unauthorized. I'm pretty sure my angular app is fine, the problem must be in a collision between securityConfig and websocket config EDIT: My code is too long, ill post a stackoverflow link to provide needed details, as the message was cut in half https://stackoverflow.com/questions/64665843/springboot-websocket-unauthorized-401-with-jwt-authentication

11/3/2020 7:24:36 PM

Jakub Mróz

0 Answers

New Answer