Docs

Know who's writing

Automatic recognition, and how to pass details yourself.

When a visitor opens the chat and they're signed in to your site, octokan reads their id, email and name from your existing sign-in. It works with Supabase, Firebase, Auth0, Clerk, Cognito, Okta, NextAuth and Better Auth, and never reads tokens.

The visitor sees "Signed in as …" with a "Not you?" link. To turn it off, uncheck it in Settings, or add data-auth="off" to the script tag.

Passing details yourself

window.Octokan?.identify({ id: user.id, email: user.email, name: user.name });

// when they sign out
window.Octokan?.reset();
NextVerified identity→