When clicking the password recovery link send by s...
# help
m
When clicking the password recovery link send by supabase i get redirected to my react (nextjs) application (so far so good), but the
'PASSWORD_RECOVERY'
event is not fired inside the
onAuthStateChange
listener. I'm not quite sure at this moment what I can do to debug this further?
Copy code
useEffect(() => {
    const { data: authListener } = supabase.auth.onAuthStateChange(
      (event, session) => {
        console.log('event :>> ', event)
      }
    )
  }, [])
Console output inside browser when clicking link:
Copy code
event :>>  SIGNED_IN
So I spun up a new supabase instance and connected my application to it, now the
event :>>  PASSWORD_RECOVERY
actually does fire! I'll post un update once I know more, in case anybody ever finds this thread 😉