Create Link URL
Generates a url for launching Anon Link. You must pass either an appUserId or appUserIdToken in the query parameters.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
See supported integrations for list of accepted enum values.
Any unique user ID e.g. user-123-xyz
. Not required if appUserIdToken
is present. The sub
claim of the token will be used as the appUserId
.
Create one or use an ID token from your existing identity provider. This is an OIDC JWT token. The sub
claim of the token will be used as the appUserId
.
Defaults to Anon's chrome extension ID lbgbplnejdpahnfmnphghjlbedpjjbgd
. Set this parameter when using your own chrome extension.
Required when setting appUserIdToken
to an ID token from your existing identity provider. This is the ID of an SdkClient
.
Any valid url e.g. http://localhost:3000/redirect
. This is the url the user will be redirected to after linking an account.
Any valid JSON string e.g. {"key":"value"}
. Defaults to {}
. This value will be included as a query parameter sent to the specified redirectUrl
.
Response
Was this page helpful?