Auth None
How to disable user authentication for simple applications and development
To disable authentication against a deepstream server altogether, either set the auth type to none in the server’s configuration file.
#Authentication
auth:
type: noneOr use the --disable-auth command line argument.
./deepstream start --disable-authThe deepstream startup log should confirm that authentication is disabled.
Please note Even with authentication type none, users can still provide an (unverified) username by sending {username: 'johndoe'} at login.
client = new DeepstreamClient('localhost:6020')
client.login({ username: 'johndoe' })If no username is provided, deepstream will default to OPEN.