This example shows how to authenticate and retrieve user data before the websocket handshake.
Open Developer Tools for log messages.
Commands