Replies: 4 comments
|
Hey @baltameme You might want to pose your question on https://stackoverflow.com/ with tags loopback and websocket. |
|
@baltameme I wonder if you have the JWT token validation up |
|
Hey @raymondfeng, yeah i've noticed that you're using websocket.controller.ts for exposing the socket connections. However, i want to enquire if its possible to following coding strategy in the following reference, where i can just append the (authenticate) decorator as the following: @ws.connect() |
|
This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the |
Uh oh!
There was an error while loading. Please reload this page.
I have built a simple chat based on the example shared in the following repo:
https://github.com/raymondfeng/loopback4-example-websocket/
What i am trying to do now is closing the connection over this App so it can be allowed through specific authenticated users. I want to enquire how can i integrate the JWT authentication as part of the socket app life cycle.
All reactions