The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: email update confirmation options
Kang Ming536224d6289f
diff --git a/web/sidebar_spec_supabase.js b/web/sidebar_spec_supabase.jsindex 2ea0db35246..45cf77eb4fc 100644--- a/web/sidebar_spec_supabase.js+++ b/web/sidebar_spec_supabase.js@@ -9,7 +9,7 @@ module.exports = {{type: 'category',label: 'Auth',- items: ['reference/javascript/auth-signup', 'reference/javascript/auth-signin', 'reference/javascript/auth-signout', 'reference/javascript/auth-session', 'reference/javascript/auth-user', 'reference/javascript/auth-update', 'reference/javascript/auth-setauth', 'reference/javascript/auth-onauthstatechange', 'reference/javascript/reset-password-email'],+ items: ['reference/javascript/auth-signup', 'reference/javascript/auth-signin', 'reference/javascript/auth-signout', 'reference/javascript/auth-session', 'reference/javascript/auth-user', 'reference/javascript/auth-update', 'reference/javascript/auth-setauth', 'reference/javascript/auth-onauthstatechange', 'reference/javascript/auth-api-getuser', 'reference/javascript/reset-password-email'],collapsed: true,},{diff --git a/web/spec/supabase.yml b/web/spec/supabase.ymlindex ba4811a2f07..128564b7fd4 100644--- a/web/spec/supabase.yml+++ b/web/spec/supabase.yml@@ -585,7 +585,9 @@ pages:title: 'update()'$ref: '@supabase/gotrue-js.GoTrueClient.update'notes: |- User email: email updates will send an email to both the user's current and new email with a confirmation link.+ User email: Email updates will send an email to both the user's current and new email with a confirmation link by default.+ To toggle this behavior off and only send a single confirmation link to the new email, toggle "Double confirm email changes" under "Authentication" -> "Settings" off.+User metadata: It's generally better to store user data in a table inside your public schema (i.e. `public.users`).Use the `update()` method if you have data which rarely changes or is specific only to the logged in user.