but its also a good idea to let user managed the database. Sometimes the tights couplings of service and database can be hard to manage and costly when not needed
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).