For the complete documentation index, see llms.txt. This page is also available as Markdown.

How do I generate a per-user auth URL backend-only?

For a backend-only setup with no frontend

For a backend-only setup with no frontend:

1

Your server calls POST /v2/auth/generateWidgetSession with a reference_id and success/failure redirect URLs. The response url is the link you email the user.

2

The link expires in ~15 minutes, so generate it close to send time.

3

To skip the provider selection screen and go straight to one provider, use POST /v2/auth/authenticateUser?resource=PROVIDER instead, which returns an auth_url to the provider login.

4

After the user authenticates, data flows to your configured destination automatically.

See the authentication flow for the full walkthrough.

Last updated

Was this helpful?