Your Backend
Your Frontend
Option 1: Opening the Link Widget by URL
link_web_url
) as provided by the
Generate a Link Token endpoint:filter_on_providers
parameter when creating the Link Token.
redirect_url
you specified earlier
when creating the Link Token. We will also append query parameters to the redirection target
based on the Link flow outcome:Flow state | Query parameters |
---|---|
Success | state=success |
Error | See Link Errors. |
Option 2: Using the `useVitalLink` React hook (`@tryvital/vital-link`)