@User you basically need to buy an SSL certificate for your domain. You can do so via many websites. Once you have them, you need to install them in your nodejs server or use nginx or something in front of your nodejs app (which is what we do)
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).