Deepstream comes with different authentication mechanisms that can integrate with different providers.
The available authentication strategies are:
You can set one or multiple authentication types simultaneously and the incoming connection will be validated against each of them until one succeeds or all fail. You just need to make them available on the deepstream server config. Authentication strategies will be queried in the same order they are declared on the configuration file.