Kinde
Verify Kinde's user.created webhook JWT against your tenant's public JWKS.
Webhook events
| Event | What it signals | Growth Rail action |
|---|---|---|
user.created | User signup confirmed by provider. | Record signup proof; join to pending SDK attribution claim. |
How attribution works
A verified provider event proves the signup happened — but not that the user was referred. Growth Rail completes a referral only when that event joins to the opaque attribution claim previously captured by the SDK on the referring user's device.
Create the Growth Rail connection
Open Dashboard → Integrations → Auth, choose Kinde, and create a Sandbox or Production connection. Copy the generated webhook endpoint URL — you will paste it into Kinde in the next step.
Register the webhook in Kinde
In Kinde → Settings → Webhooks, add the copied endpoint and subscribe to user.created.
Return to Growth Rail and save the Kinde tenant JWKS URL. Growth Rail encrypts and stores it — the raw value is never returned by the API after saving.
Pass attribution data from your app
Pass the Kinde user ID delivered as data.user.id. The webhook body is a signed JWT rather than JSON.
// Run after Kinde resolves the authenticated user.
await GrowthRail.initAppUser(kindeUser.id);Verify end-to-end in test mode
Create a user in the matching Kinde environment and confirm its signed user.created JWT is accepted by Growth Rail.
| Outcome | Meaning |
|---|---|
| Completed | Signup proof and SDK attribution token matched. The referral reward has been triggered. |
| Awaiting attribution | The webhook signature was valid, but the SDK claim has not arrived yet — or the stable user ID did not match a pending claim. The event is held; Growth Rail completes the referral when the claim arrives. |
| Ignored | The event was verified but no matching attribution claim exists and the hold window has expired, or the event type is out of scope. |
- Kinde user imports do not emit user.created.
- Kinde webhooks are environment-scoped, so create separate Sandbox and Production connections.