You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated in the message authentication is required.
Websocket implementation uses sockjs and requires the authorization token to be passed through headers.
The sample implementation is available at admin/tracker.
Overview of the issue
Websocket demo app throws 403 Forbidden
Motivation for or Use Case
Run for example of Spring security WebSocket
Reproduce the error
Clone source code from repository
jhipster-sample-app-websocket
npm install
to get dependencies./mvnw
npm start
When login page http://localhost:9000/ and then checking Devtools -> Network tab, an error occurred when calling Websocket:
http://localhost:9000/websocket/tracker/info?t=1704189156457 (403 Fobidden)
Related issues
Suggest a Fix
JHipster Version(s)
8.1.0
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
The text was updated successfully, but these errors were encountered: