rp_st
08/13/2021, 10:25 AMsessionHandle of the session to the client. Else some error
- If the client gets the session handle, it passes that to the request to the onConnect function.
- In the onConnect function, if the req doesn't have a sessionHandle, then return false (which will cause a disconnection). Else query the supertokens core to check if the sessionHandle exists. If it doesn't return false, else return the context object to establish the connection.