lanbau
05/22/2022, 2:49 PMawait supabase.auth.api.resetPasswordForEmail(email, {
redirectTo: `${window.location.origin}/reset-password`,
});
https://xxx.supabase.co/auth/v1/verify?token=fvtgjvsxjajktseuqshp&type=recovery&redirect_to=http://localhost:3000/reset-password
when i checked the link, it has the token but when it redirects to my page, the url only has a single hash.. without the token, i can't update my user's password..
This is on nextjs
any idea what could be the issue?Needle
05/22/2022, 2:49 PMJingly
05/22/2022, 9:45 PMNeedle
05/22/2022, 9:45 PMJingly
05/22/2022, 9:47 PMJingly
05/22/2022, 9:47 PMJingly
05/22/2022, 9:49 PMJingly
05/22/2022, 9:50 PMlanbau
05/23/2022, 2:25 AMconst { data, error } = await supabase.auth.update({
password,
});
lanbau
05/23/2022, 2:25 AM