Skip to main content

OAuthLoginInput

Input for OAuth login and account linking.

input OAuthLoginInput {
authorizationCode: String!
provider: OAuthProvider!
redirectUri: String!
}

Fields

OAuthLoginInput.authorizationCode ● String! non-null scalar

The authorization code received from the OAuth provider after user authorization.

OAuthLoginInput.provider ● OAuthProvider! non-null enum

The OAuth provider to authenticate with.

OAuthLoginInput.redirectUri ● String! non-null scalar

The redirect URI used in the OAuth flow. Must match the URI registered with the provider.

Member Of

linkOAuthAccount mutation ● signInWithOAuth mutation