MFA cookie handling
Hey, I've noticed in Next.JS that when the user required to be redirected to the MFA screen, better auth client lib will create a
better-auth.two_factor cookie that will expire after 3minutes from the sign-in with email was initialized, but I having trouble to find any client side method or hook to handle it's state. Should I write a custom script to handle if the cookie expired then show to the user ?0 Replies