The second step to using the SDK is to set up authentication. SignalWire's simple and powerful authentication system, using JWT, allows you to set granular permissions, enabling some of your users to only join conference calls, while others could list ongoing calls and jump in to assist from a support dashboard... the possibilities are endless.

The JavaScript SDK runs exclusively within the browser on the client-side. To keep your authentication tokens secure, you must use a server-side request to generate a Room Token.

SignalWire JWT Room Tokens are generated via the SignalWire Video API. You can find more information about generating Room Tokens at Create Room Token.

If you are building an application with Chat features, you can generate a SignalWire JWT Chat Token with the SignalWire Chat API. You can find more information about generating a Chat Token at Generate a new Chat Token.

Did this page help you?