Verify Logged-In Users in Your Chat.

Your app signs a token for the user who’s logged in, and the widget passes it on. You know it’s really them, not someone typing their email.

  • Your server signs a token for each user
  • Require it, or allow anonymous visitors too
  • Included on every plan, including Free

Your server signs a token for the logged-in user, the widget passes it on as identityToken, and the conversation arrives as Maya Chen, marked verified.

What verified identity does.

A typed email proves nothing. A token signed by your server proves who is logged in.

  • Signed, not typed

    Your server signs the token with a secret only it and AssistLoop know. A visitor can’t fake one by typing someone’s email.

  • Real names in your inbox

    Verified chats show the customer’s name and email, so your team doesn’t have to ask who they are.

  • Required or optional

    Require a valid token before a chat can start, or let anonymous visitors chat too.

  • Log in mid-chat

    If a visitor logs in partway through, the same chat becomes verified. They don’t start over.

  • Rotate the secret

    Make a new secret anytime. The old one stops working at once, and your widget code stays the same.

  • Pair it with actions

    Turn it on before you let the agent look up orders or change plans through agent actions.

Set up verified identity in three steps.

  1. 01

    Generate a secret

    Create a signing secret in your agent’s settings. It’s shown once, so save it on your server.

  2. 02

    Sign a token on your server

    For each logged-in user, sign a short-lived token with their user ID, and their name and email if you like.

  3. 03

    Pass it to the widget

    Give the token to the widget when it loads. Chats from that user show up as verified.

Verified identity in detail.

Why a typed email isn’t enough

Say your agent can cancel subscriptions. A visitor writes: "I’m [email protected], please cancel my plan." Should it?

No. An email typed into a chat is a claim, not proof. Anyone can type anyone’s email. An agent that acts on what visitors say about themselves can be fooled by the first person who tries.

The usual fix is to send every account question to a person. That works, but it leaves the AI with only the easy questions.

How a signed token works

Your app already knows who’s logged in. The chat widget runs in the browser, and it can’t trust what the browser tells it.

A signed token fixes that. Your server puts the logged-in user’s ID, and optionally their name and email, in a JWT and signs it with your agent’s secret. The widget passes the token to AssistLoop, which checks the signature.

A forged token fails the check, and a visitor can’t make one in the browser because the secret stays on your server. Tokens expire, and if you give the widget a function that fetches them, it asks your server for a fresh one when needed.

The secret stays on your server. A forged token fails the signature check, and a visitor can’t make one in the browser.

Required or optional

You choose how strict to be.

Optional suits a site with a logged-in area: anonymous visitors still get help, and logged-in customers are identified. Required suits a customer portal, a WHMCS client area, or anywhere only customers should chat: no chat starts without a valid token.

Identity can also change mid-chat. If someone starts as a guest and then logs in, the same conversation becomes verified.

Required means no chat starts without a valid token. Optional lets anonymous visitors chat too. Either way, a visitor who logs in mid-chat is verified in the same conversation.

Use it with agent actions

On its own, verified identity tells you who you’re talking to. With agent actions, it makes account requests safer to automate.

An action lets the agent call your API. The token confirms which customer is asking. Without it, an action that changes an account would trust whatever the visitor typed.

Verified identity is included on every plan, including Free. Agent actions need a paid plan: see pricing.

An action lets the agent call your API. A verified identity confirms which customer is asking.

Frequently asked questions.

Still stuck?

[email protected]

It’s a way for your app to prove who a visitor is. Your server signs a short token for the logged-in user with a secret from your dashboard, and AssistLoop checks the signature before trusting it.

They can, but it proves nothing. Anyone can type someone else’s email. A signed token comes from your server, so it can’t be faked in the chat.

Yes. In required mode, no chat starts without a valid token. In optional mode, anonymous visitors can chat too.

The same chat becomes verified. Pass the new identity to the widget when they log in, and the conversation carries on.

Rotate it in your agent’s settings. The old secret stops working at once. Put the new one on your server; the widget code doesn’t change.

Yes. Verified identity is included on every plan, including Free.

Yes, and that’s the main reason to use it. An action lets the agent call your API, and a verified identity confirms which customer is asking. Together they make account requests safer to automate.

Get started

Verify your logged-in users.

Generate a secret, sign a token on your server, and see verified chats in your inbox.