Enabling JWT Authentication for a SIP Account
Set up JWT authentication for SIP accounts so that they can use short-lived tokens to safely authenticate from public internet resources.
In addition to traditional username/password and IP-based authentication, CommPeak also supports JSON Web Token (JWT authentication) for your SIP accounts.
NOTEJWT is a widely adopted open standard that simplifies secure data exchange. Since each token is digitally signed, the data can be verified and trusted, ensuring security and integrity throughout communication. This modern authentication method ensures a more secure and scalable way to manage access.
Configuring JWT authentication
To configure JWT authentication, follow these steps:
Expand VoIP Services
Expand VoIP Services in the left pane.
Open SIP Accounts
Click the SIP Accounts (Trunks) tab.
Edit the account
Click the edit button next to the SIP account for which you want to enable JWT authentication.

SIP Accounts (Trunks) page
Enable JWT authentication
Set the signature secret
After enabling the JWT Authentication option, define a JWT signature secret.
You have two choices:
- Let the system automatically generate a secure secret with the Generate button — the circular-arrows icon next to the field (hover over it to see the tooltip).
- Manually enter your own secret (32 characters long, only letters and numbers allowed).

Defining JWT signature secret
TIPUse the Copy button, the copy icon next to the field, to copy the secret to your clipboard.
Save the changes
After copying and saving your JWT signature secret, click the Save Changes button to apply the new settings.
Confirm with your password
Confirm the operation by entering your password and click Save Settings:

Password Confirmation window
Using SIP Account with JWT authentication
Once JWT Authentication is enabled, you will see a new icon next to your SIP account status on the SIP Accounts page, making it easy to identify accounts with JWT.
Now, you can instantly launch the built-in CommPeak Softphone directly from this page.

SIP account icon identifying JWT status
Please check this step-by-step guide for precise, actionable instructions on implementing the WebRTC Softphone directly on your website.
Updated 3 days ago
