michael_pxr
ts if (response.status === "OK" && response.user.loginMethods.length === 1 && input.session === undefined) {
loginMethods.length === 1
input
session
ts { email: string; password: string; tenantId: string; userContext: any; }
input.session === undefined
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).