Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Removed the "emailRedirectTo" in signIn (#18925)

Shayan5785b2cd1ff893f5
diff --git a/apps/docs/pages/guides/auth/auth-email.mdx b/apps/docs/pages/guides/auth/auth-email.mdx
index b8141e0c93e..1acab83572a 100644
--- a/apps/docs/pages/guides/auth/auth-email.mdx
+++ b/apps/docs/pages/guides/auth/auth-email.mdx
@@ -134,10 +134,7 @@ When your user signs in, call [signInWithPassword()](/docs/reference/javascript/
async function signInWithEmail() {
const { data, error } = await supabase.auth.signInWithPassword({
- password: 'example-password',
- options: {
- emailRedirectTo: 'https//example.com/welcome'
- }
+ password: 'example-password'
})
}
```