What You Get
How It Works
- User logs into your app
- Your backend mints an Argide identity token (JWT signed with your Argide secret)
- Your frontend calls
window.argide('identify', { token }) - Widget now knows who the user is
This is not your app’s session JWT. It’s a separate Argide-scoped identity token that your backend mints specifically for Argide. Your app JWT stays private.
1. Get Your Secret
Go to dashboard.argide.ai/dashboard/deploy/widget → copy Verification Secret. Add to your backend environment:2. Create Backend Endpoint
JWT Payload
3. Identify in Frontend
getIdentityToken to the widget component. The SDK calls it on mount and auto-refreshes when the token expires — no manual polling needed.
