How Can We Help?
< Back
You are here:

How to remove the need for password using JS API?

In our JS API example, we show how to connect your users base to the chat for auto login. In this example we show how to login using user & password.

However, if you do not need the password field, simply remove it in the SDK call.

        hash:     "YOUR-HASH",
        username: USERNAME_VARIABLE

** this is possible only when the Guest login is set.
** YOUR-HASH is 8 char variable that is unique to your chat.