For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

JavaScript: reauthenticate

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()