@bustexz4267, so you can create a middleware with SuperTokens that verifies a session and creates an object (and put that in req), that passport JS expects.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).