If I run the following function through the JS lib...
# help
b
If I run the following function through the JS library, and the email address does not exist in the Auth table, shouldn't I get an error back? let { data, error } = await supabase.auth.api.resetPasswordForEmail(email)
n
Hello @Bryan K.! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
b
Instead, the email is sent to the email that was entered, and then when they click the reset password link in the email they go to the home page of the site with the following string after the domain in the URL
#error_code=404&error_description=User+not+found
Is there something I should do differently when using the
supabase.auth.api.resetPasswordForEmail(email)
function?
n
Thread was archived by @Bryan K.. Anyone can send a message to unarchive it.
c
I get the same URL redirect with
#error_code=404&error_description=User+not+found
What I am doing wrong?
n
Thread was archived by @Bryan K.. Anyone can send a message to unarchive it.
k
@Bryan K. have you found a solution to your issue? I am facing the exact same problem
o
Hmm, looks like a workflow issue. I created an issue for it, don't hesitate to subscribe to it to get news: https://github.com/supabase/supabase/issues/7555 cc: @Bryan K. @CarltonC @kbsali
k
thanks @Olyno , however this is happening with existing users too
o
Oh no, okay i let you add this information to the issue please, so the team will be able to investigate it