I found a resolution - it had something to do with the or cookies because I cleared all browser data from the last 24 hours and the redirect issue stopped
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).