Skip to Content

authorizationUrl()

authorizationUrl(provider, options): Promise<string>;

returnTo must be on a loopback host (localhost, 127.0.0.1, [::1] or a *.localhost name) or an https origin listed in the project’s sign-in return origins. The PKCE verifier and state (random when omitted) stay in this tab’s sessionStorage until completeSignIn. Throws ApiClientUsageError without window.

Parameters

provider

"github"

options

returnTo

string

state?

string

Last updated on