deepstream.io is currently under reconstruction for the V4 release!

For V3 and enterprise documentation please go to https://deepstreamhub.com

To continue click here

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: 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')
client.login({ username: 'johndoe' })

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