Your identity secret
Copy the secret your server signs tokens with, keep it safe, and revoke it if it ever leaks.
Last updated Friday, November 27th, 2026
View as MarkdownOn this page
Your workspace has one identity secret, made with the workspace. Your server signs each user's token with it, and Notert checks every token against it. Owners and admins copy it and revoke it.
Copy it
- Open Settings, then MCP & API (opens Notert in a new tab), and find Identity secret under Secrets.
- Press the secret to copy it.
- Put it on your server, such as in an environment variable named
NOTERT_IDENTITY_SECRET.
The widget's install guide shows the same secret as the first step of its Signed-in users tab, where a press on it copies it too.
Members who aren't an owner or an admin see only its start and its last four characters, such as nis_…a1b2, so they can match it to the one on your server, and the line that owners and admins can copy it.
Keep it on your server
Anyone holding the secret can sign a token for any of your users, and read and write their conversations. Keep it where your other server secrets live: never in your page, your front-end code, or your repository.
Locally, put it in a file your repository ignores:
# .env.local, listed in .gitignore
NOTERT_IDENTITY_SECRET=nis_...In production, add it as a secret environment variable on your hosting platform, and read it on the server only. In a framework that sends some variables to the browser, such as Next.js with its NEXT_PUBLIC_ prefix, never give the secret such a name.
Revoke it
Revoke the secret if it may have leaked.
- Under Secrets on MCP & API (opens Notert in a new tab), press Revoke secret.
- Press Revoke to confirm.
- Copy the new secret and put it on your server in place of the old one.
The old secret stops at once: until your server signs with the new one, its tokens are refused and the widget stays hidden for your signed-in users. Everyone your site signed in on your board is signed out too, since a secret that leaked signed them in. They sign in again through your site the next time they come. Visitors who aren't signed in aren't affected. A revoke can't be undone.
The Signed-in users tab's Check it works waits again until a page signed with the new secret loads the widget.
If a teammate revokes the secret a moment before you, your revoke changes nothing and Notert says the identity secret was just revoked, and the page shows their new secret. Copy it rather than revoking again, which would stop theirs.
Each revoke is recorded in the audit log, and the workspace's owners are emailed about it.