# What is identity verification?

> Signing a logged-in user's id with a secret on your server, so a chat widget can trust who they are.

URL: https://office.greatwork.company/glossary/identity-verification
Last updated: 2026-11-21

Signing a logged-in user's id with a secret on your server, so a chat widget can trust who they are.

When a website tells its chat widget who the signed-in user is, anyone who can edit the page in their browser could claim to be someone else. Identity verification prevents that: the site's server computes an HMAC hash of the user's id with a secret only the server and the chat tool know, and the widget sends it along. The chat tool computes the same hash and rejects the user if they don't match.

With verification on, a customer can see their past conversations on any device, and nobody else can.

## Where you'll use it

- [Identity verification for signed-in users](https://office.greatwork.company/chat/features/identity-verification): Tell the widget who your signed-in user is, and sign it on your server, so nobody can pretend to be a customer and read their conversations.
- [JavaScript API for the chat widget](https://office.greatwork.company/chat/features/javascript-api): Control the widget from your own code: open it from a Help button, hide it on checkout, identify users and listen for new messages.

## Related terms

- [Chat widget](https://office.greatwork.company/glossary/chat-widget): The launcher button and chat window a live chat tool adds to a website with a snippet of code.

---

Office by Great Work. Questions or corrections: hello@greatwork.company
