Add your keys
.env
openssl rand -base64 32. Copy the webhook secret from the webhook endpoint you add in the dashboard.Routes the app adds
| Route | What it does |
|---|---|
POST /api/authbound/verification | Starts a verification and returns the wallet handoff to the browser. |
POST /api/authbound/session | Sets the session cookie after a successful verification. |
POST /api/authbound/callback | Receives webhooks. Add this URL as a webhook endpoint in the dashboard. |
GET /api/authbound/status | Reads the session cookie. |
DELETE /api/authbound | Signs the user out by clearing the session cookie. |
Next steps
- Handle webhook events and record results in your database: Webhooks and results.
- Running behind a proxy, or want to use your own sessions? See Browser sessions.