Can We use Service Role Account to Directly Reset Password of any user?
I want to reset password of a user without their need to interaction. No Reset Email, No login, just direct reset.
1 Reply
I don't think this requires a confirm email.
https://supabase.com/docs/reference/javascript/auth-admin-updateuserbyid
Not sure if it logs them out.
But it would be the only built in way.
JavaScript: Update a user | Supabase Docs
Supabase API reference for JavaScript: Update a user