alan the guy
req
res
any
rp_st
ts await superTokensNextWrapper( async (next) => { return await verifySession()(req as any, res as any, next) }, req, res )
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).