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.
PreviousWhy do provider OAuth pages always show in English?
NextGetting a provider developer app approved
Last updated
Was this helpful?