Edit on GitHub

Auth None

To disable authentication against a deepstream server altogether, either set the auth type to none in the server's configuration file.

  type: none

Or use the --disable-auth command line argument.

./deepstream start --disable-auth

The deepstream startup log should confirm that authentication is disabled.

deepstream starts with no authentication

Please note Even with authentication type none, users can still provide an (unverified) username by sending {username: 'johndoe'} at login.

client = deepstream('localhost:6020').login({username: 'johndoe'})

If no username is provided, deepstream will default to OPEN.

Need support, architectural consulting or training? Buy Support