You may be familiar of the server actions in nextjs. How do I protect the server actions for authorized usage ? We can protect the api with "withSession" helper function but as we dont have any request in server actions so I can use that func.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).