I am using the thirdparty recipe with react, when performing the signOut function from client and if the access token is expired , it going in to an infinite loop of refresh and signout.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).