Overview
The/init endpoint creates a new Link session. It returns a discriminated response:
mode: "hosted"with aurlyou can redirect to or open in the Link embed popupmode: "whitelabel"with aclientSecretfor enterprise programmatic flows
HTTP Request
Request Body
The
redirectUrl must be registered in your client app’s Allowed Redirect URIs. Create and configure client apps in your OFAuth dashboard.Response
Redirect Query Parameters
After Link completes, OFAuth redirects the user to yourredirectUrl with query parameters appended:
On Success
On Cancel
On Error
Example
mode === "hosted" before reading url.