fronte-end part works great with refreshToken and other features. how to implement this on server maybe. if we need to refresh token and continue user request
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).