Skip to main content

completeLoginLink

Complete a magic-link sign-in with the emailed token; returns a session AuthResponse. Public (the token authorizes the call); throws if invalid/expired/used. First-party origins only (HOSTED_SIGN_IN_REQUIRED otherwise).

completeLoginLink(
input: CompleteLoginLinkInput!
): AuthResponse!

Arguments

completeLoginLink.input ● CompleteLoginLinkInput! non-null input

Type

AuthResponse object

Result of a successful login or registration: a session token plus the authenticated user.