JavaScript: Send a password reauthentication nonce

Sends a reauthentication OTP to the user's email or phone number. Requires the user to be signed-in.

Examples

Send reauthentication nonce

const \{ error \} = await supabase.auth.reauthenticate()