I am basically new to websocket api, and I am trying to build an websocket api ,basically one of it’s part where client connected to the api will send a request to the server with user id and password as a STRUCTURED DATA and the server will authenticate the user , and send the response back to the slender(my api) ,now I want to know if I can use that response to authenticate the user at my end by sending some token to the client side (you can call this part as signon or authentication process).
Can someone please validate this methods (not implemented) and if not please suggest another method.
I tried , after receiving the response to send some string in structure format as token but is not working for authentication.
Safal kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1