The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update Dashboard Auth links
dannykng1c60f4077c2d
diff --git a/apps/docs/pages/guides/auth/overview.mdx b/apps/docs/pages/guides/auth/overview.mdxindex 85b1fdc96da..97044096e13 100644--- a/apps/docs/pages/guides/auth/overview.mdx+++ b/apps/docs/pages/guides/auth/overview.mdx@@ -55,7 +55,7 @@ You can enable third-party providers with the click of a button by navigating to### Redirect URLs and wildcards-When using third-party providers, the [Supabase client library](/docs/reference/javascript/auth-signinwithoauth#sign-in-using-a-third-party-provider-with-redirect) redirects the user to the provider. When the third-party provider successfully authenticates the user, the provider redirects the user to the Supabase Auth callback URL where they are further redirected to the URL specified in the `redirectTo` parameter. This parameter defaults to the [`SITE_URL`](/docs/reference/auth/config#site_url). You can modify the `SITE_URL` or [add additional redirect URLs](https://app.supabase.com/project/_/auth/settings).+When using third-party providers, the [Supabase client library](/docs/reference/javascript/auth-signinwithoauth#sign-in-using-a-third-party-provider-with-redirect) redirects the user to the provider. When the third-party provider successfully authenticates the user, the provider redirects the user to the Supabase Auth callback URL where they are further redirected to the URL specified in the `redirectTo` parameter. This parameter defaults to the [`SITE_URL`](/docs/reference/auth/config#site_url). You can modify the `SITE_URL` or add additional [redirect URLs](https://app.supabase.com/project/_/auth/url-configuration).You can use wildcard match patterns to support preview URLs from providers like Netlify and Vercel. See the [full list of supported patterns](https://pkg.go.dev/github.com/gobwas/glob#Compile). Use [this tool](https://www.digitalocean.com/community/tools/glob?comments=true&glob=http%3A%2F%2Flocalhost%3A3000%2F%2A%2A&matches=false&tests=http%3A%2F%2Flocalhost%3A3000&tests=http%3A%2F%2Flocalhost%3A3000%2F&tests=http%3A%2F%2Flocalhost%3A3000%2F%3Ftest%3Dtest&tests=http%3A%2F%2Flocalhost%3A3000%2Ftest-test%3Ftest%3Dtest&tests=http%3A%2F%2Flocalhost%3A3000%2Ftest%2Ftest%3Ftest%3Dtest) to test your patterns.diff --git a/apps/www/_blog/2022-08-03-supabase-beta-update-july-2022.mdx b/apps/www/_blog/2022-08-03-supabase-beta-update-july-2022.mdxindex 2330e5f8703..5f7812d4c91 100644--- a/apps/www/_blog/2022-08-03-supabase-beta-update-july-2022.mdx+++ b/apps/www/_blog/2022-08-03-supabase-beta-update-july-2022.mdx@@ -48,7 +48,7 @@ The new hCpatcha integration allows you to implement captcha functionality for a-We've started updating our settings UI, starting with the Auth settings. You'll now see updated UI for setting up your Auth providers, Email templates and SMTP config. [Auth settings](https://app.supabase.com/project/_/auth/settings)+We've started updating our settings UI, starting with the Auth settings. You'll now see updated UI for setting up your [Auth providers](https://app.supabase.com/project/_/auth/providers), [Email templates](https://app.supabase.com/project/_/auth/templates), and [SMTP config](https://app.supabase.com/project/_/auth/url-configuration).## Quick product announcementsdiff --git a/spec/examples/examples.yml b/spec/examples/examples.ymlindex d2bc4403b6e..393fc81e279 100644--- a/spec/examples/examples.yml+++ b/spec/examples/examples.yml@@ -114,13 +114,13 @@ functions:title: 'signUp()'$ref: '@supabase/gotrue-js.GoTrueClient.signUp'notes: |- - By default, the user needs to verify their email address before logging in. To turn this off, disable **Confirm email** in [your project](https://app.supabase.com/project/_/auth/settings).+ - By default, the user needs to verify their email address before logging in. To turn this off, disable **Confirm email** in [your project](https://app.supabase.com/project/_/auth/providers).- **Confirm email** determines if users need to confirm their email address after signing up.- If **Confirm email** is enabled, a `user` is returned but `session` is null.- If **Confirm email** is disabled, both a `user` and a `session` are returned.- - When the user confirms their email address, they are redirected to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url) by default. You can modify your `SITE_URL` or add additional redirect URLs in [your project](https://app.supabase.com/project/_/auth/settings).+ - By default, when the user confirms their email address, they are redirected to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url). You can modify your `SITE_URL` or add additional redirect URLs in [your project](https://app.supabase.com/project/_/auth/url-configuration).- If signUp() is called for an existing confirmed user:- - If **Confirm email** is enabled in [your project](https://app.supabase.com/project/_/auth/settings), an obfuscated/fake user object is returned.+ - If **Confirm email** is enabled in [your project](https://app.supabase.com/project/_/auth/providers), an obfuscated/fake user object is returned.- If **Confirm email** is disabled, the error message, `User already registered` is returned.- To fetch the currently logged-in user, refer to [`getUser()`](/docs/reference/javascript/auth-getuser).examples:@@ -192,7 +192,7 @@ functions:- This method is used for passwordless sign-ins where a OTP is sent to the user's email or phone number.- If you're using an email, you can configure whether you want the user to receive a magiclink or a OTP.- If you're using phone, you can configure whether you want the user to receive a OTP.- - The magic link's destination URL is determined by the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url). You can modify the `SITE_URL` or add additional redirect urls in [your project](https://app.supabase.com/project/_/auth/settings).+ - The magic link's destination URL is determined by the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url). You can modify the `SITE_URL` or add additional redirect URLs in [your project](https://app.supabase.com/project/_/auth/url-configuration).examples:- id: sign-in-with-email.name: Sign in with email.@@ -236,7 +236,7 @@ functions:isSpotlight: falsedescription: |When the third-party provider successfully authenticates the user, the provider will redirect the user to the URL specified in the `redirectTo` parameter. This parameter defaults to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url). It does not redirect the user immediately after invoking this method.- You can modify the `SITE_URL` or add additional redirect urls in [your project](https://app.supabase.com/project/_/auth/settings).+ You can modify the `SITE_URL` or add additional redirect URLs in [your project](https://app.supabase.com/project/_/auth/url-configuration).js: |```jsconst { data, error } = await supabase.auth.signInWithOAuth({@@ -334,7 +334,7 @@ functions:notes: |- In order to use the `updateUser()` method, the user needs to be signed in first.- By Default, email updates sends a confirmation link to both the user's current and new email.- To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](https://app.supabase.com/project/_/auth/settings).+ To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](https://app.supabase.com/project/_/auth/providers).examples:- id: update-the-email-for-an-authenticated-username: Update the email for an authenticated userdiff --git a/spec/supabase_dart_v1.yml b/spec/supabase_dart_v1.ymlindex 304d6988077..9c61cc1ee20 100644--- a/spec/supabase_dart_v1.yml+++ b/spec/supabase_dart_v1.yml@@ -85,7 +85,7 @@ functions:- This method is used for passwordless sign-ins where a OTP is sent to the user's email or phone number.- If you're using an email, you can configure whether you want the user to receive a magiclink or a OTP.- If you're using phone, you can configure whether you want the user to receive a OTP.- - The magic link's destination URL is determined by the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url). You can modify the `SITE_URL` or add additional redirect urls in [your project](https://app.supabase.com/project/_/auth/settings).+ - The magic link's destination URL is determined by the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url). You can modify the `SITE_URL` or add additional redirect urls in [your project](https://app.supabase.com/project/_/auth/url-configuration).examples:- id: sign-in-with-emailname: Sign in with email.@@ -229,7 +229,7 @@ functions:notes: |- In order to use the `updateUser()` method, the user needs to be signed in first.- By Default, email updates sends a confirmation link to both the user's current and new email.- To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](https://app.supabase.com/project/_/auth/settings).+ To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](https://app.supabase.com/project/_/auth/providers).examples:- id: update-the-email-for-an-authenticated-username: Update the email for an authenticated userdiff --git a/spec/supabase_js_v1.yml b/spec/supabase_js_v1.ymlindex b56b1390eac..810e46d2036 100644--- a/spec/supabase_js_v1.yml+++ b/spec/supabase_js_v1.yml@@ -285,7 +285,7 @@ functions:$ref: '@supabase/gotrue-js.GoTrueClient.update'notes: |User email: By Default, email updates sends a confirmation link to both the user's current and new email.- To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](https://app.supabase.com/project/_/auth/settings).+ To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](https://app.supabase.com/project/_/auth/providers).User metadata: It's generally better to store user data in a table within 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.diff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.ymlindex df9973635a4..7b4af1c9e81 100644--- a/spec/supabase_js_v2.yml+++ b/spec/supabase_js_v2.yml@@ -360,7 +360,7 @@ functions:notes: |- In order to use the `updateUser()` method, the user needs to be signed in first.- By Default, email updates sends a confirmation link to both the user's current and new email.- To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](https://app.supabase.com/project/_/auth/settings).+ To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](https://app.supabase.com/project/_/auth/providers).examples:- id: update-the-email-for-an-authenticated-username: Update the email for an authenticated user