Skip to main content

LoginWithOtpInput

Signs a user in with a one-time code.

input LoginWithOtpInput {
deviceFingerprint: String
deviceName: String
email: String!
otp: String!
rememberMe: Boolean
subdomain: String
trustDevice: Boolean
}

Fields​

LoginWithOtpInput.deviceFingerprint ● String scalar​

A fingerprint of the device.

LoginWithOtpInput.deviceName ● String scalar​

A name for the device.

LoginWithOtpInput.email ● String! non-null scalar​

Email address.

LoginWithOtpInput.otp ● String! non-null scalar​

The one-time code.

LoginWithOtpInput.rememberMe ● Boolean scalar​

True to keep the session longer.

LoginWithOtpInput.subdomain ● String scalar​

The subdomain of the organization the code is for.

LoginWithOtpInput.trustDevice ● Boolean scalar​

True to skip two-factor on this device for a while.

Member Of​

loginWithOtp mutation