Skip to main content

signInWithOAuth

Sign in or sign up using an OAuth provider. Exchanges an authorization code for tokens, creates/links user, and returns AuthenticationPayload.

signInWithOAuth(
input: OAuthLoginInput!
): AuthenticationPayload

Arguments

signInWithOAuth.input ● OAuthLoginInput! non-null input

Input containing OAuth provider details and authorization code.

Type

AuthenticationPayload object