createRedirectUrl()
Creates a RedirectUrl.
function createRedirectUrl(params: CreateRedirectUrlParams): Promise<RedirectUrl>- Name
url- Type
string- Description
The full url value prefixed with
https://or a custom scheme. For example,https://my-app.com/oauth-callbackormy-app://oauth-callback
const response = await clerkClient.redirectUrls.createRedirectUrl({
url: 'https://example.com',
})Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint POST/redirect_urls. See the BAPI reference for more information.
Feedback
Last updated on