Replies: 4 comments
-
Hey @baltameme You might want to pose your question on https://stackoverflow.com/ with tags loopback and websocket. |
Beta Was this translation helpful? Give feedback.
-
@baltameme I wonder if you have the JWT token validation up |
Beta Was this translation helpful? Give feedback.
-
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() |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions