The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fixed typos and changed headers
Mark Burggrafef1d22c69217
diff --git a/web/docs/guides/auth/auth-apple.mdx b/web/docs/guides/auth/auth-apple.mdxindex 13c5851d49a..19d5a74eb6b 100644--- a/web/docs/guides/auth/auth-apple.mdx+++ b/web/docs/guides/auth/auth-apple.mdx@@ -1,18 +1,13 @@---id: auth-apple-title: "Apple Login"-description: Setting up Apple Login+title: "Setting up Apple Auth"+description: Add Apple OAuth to your Supabase project---import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-## Description--How to set up Apple Login ("Sign In With Apple")---The setup process consists of six parts:+Setting up Apple logins for your application consists of six parts:* obtain an `App Id` with “Sign In with Apple” capabilities* obtain a `Services Id` - this will serve as the `client_id`@@ -32,7 +27,7 @@ Once logged into your *"Apple Deveoper Account"*:### Obtain an App Id with “Sign In with Apple” capabilities.-- Go to Certificates, Identifiers & Profiles+- Go to "Certificates, Identifiers & Profiles"- Click on "Identifiers" at the left- Click on the + sign in the upper left next to “Identifiers”- Select "App IDs" and click "Continue"@@ -73,7 +68,7 @@ This will serve as the `cliend_id` when you make API calls to authenticate the u- Click on the "Settings" icon at the bottom of the left sidebar- Click on "API" in the list- Under Config / URL you'll find your API URL, you can click "Copy" to copy it to the clipboard- - Now just add "/auth/v1/callback" to the end of that to get your full "OAauth Redirect URI"+ - Now just add "/auth/v1/callback" to the end of that to get your full "OAuth Redirect URI"- Enter this in the "Return URLs" box- Click "Next" at the bottom right- Click "Done" at the bottom@@ -179,7 +174,7 @@ You should now have a `client_id` and `client_secret`### Add login code to your client app-The JavaScript client code is documented here: [Supabase OAauth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)+The JavaScript client code is documented here: [Supabase OAuth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)```jsconst { user, session, error } = await supabase.auth.signIn({@@ -187,7 +182,7 @@ const { user, session, error } = await supabase.auth.signIn({})```-Just put this code in a function and create a button or a link or any other UI element to call the function.+Add this function which you can call from a button, link, or UI element.```jsfunction signInWithGithub() {@@ -212,7 +207,5 @@ function signout() {* [Apple Developer Account](https://developer.apple.com)* [Ruby](https://www.ruby-lang.org/en/)* [ruby-jwt](https://github.com/jwt/ruby-jwt)+* Thanks to [Janak Amarasena](https://medium.com/@janakda) who did all the heavy lifting in [How to configure Sign In with Apple](https://medium.com/identity-beyond-borders/how-to-configure-sign-in-with-apple-77c61e336003)-## Thanks to--* [Janak Amarasena](https://medium.com/@janakda) who did all the heavy lifting in [How to configure Sign In with Apple](https://medium.com/identity-beyond-borders/how-to-configure-sign-in-with-apple-77c61e336003)diff --git a/web/docs/guides/auth/auth-bitbucket.mdx b/web/docs/guides/auth/auth-bitbucket.mdxindex a4f51d81632..83d7eb35721 100644--- a/web/docs/guides/auth/auth-bitbucket.mdx+++ b/web/docs/guides/auth/auth-bitbucket.mdx@@ -1,17 +1,13 @@---id: auth-bitbucket-title: "Bitbucket Login"-description: Setting up Bitbucket Login+title: "Setting up Bitbucket Auth"+description: Add Bitbucket OAuth to your Supabase project---import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-## Description--How to set up Bitbucket Login--The setup process consists of three parts:+Setting up Bitbucket logins for your application consists of 3 parts:* Create and configure a Bitbucket OAuth Consumer on [Bitbucket](https://bitbucket.org)* Add your Bitbucket OAuth Consumer keys to your [Supabase Project](https://supabase.io)@@ -39,7 +35,7 @@ Once logged into *"Bitbucket"*:- Click on the "Settings" icon at the bottom of the left sidebar- Click on "API" in the list- Under Config / URL you'll find your API URL, you can click "Copy" to copy it to the clipboard- - Now just add "/auth/v1/callback" to the end of that to get your full "OAauth Redirect URI"+ - Now just add "/auth/v1/callback" to the end of that to get your full "OAuth Redirect URI"- Enter this in the "Callback URL" box- Check the permissions you need (Email, Read should be enough)- Click "Save" at the bottom@@ -58,7 +54,7 @@ Once logged into *"Bitbucket"*:### Add login code to your client app-The JavaScript client code is documented here: [Supabase OAauth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)+The JavaScript client code is documented here: [Supabase OAuth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)```jsconst { user, session, error } = await supabase.auth.signIn({diff --git a/web/docs/guides/auth/auth-facebook.mdx b/web/docs/guides/auth/auth-facebook.mdxindex 0c5da06c9aa..b0ce4c9d53c 100644--- a/web/docs/guides/auth/auth-facebook.mdx+++ b/web/docs/guides/auth/auth-facebook.mdx@@ -1,17 +1,13 @@---id: auth-facebook-title: "Facebook Login"-description: Setting up Facebook Login+title: "Setting up Facebook Auth"+description: Add Facebook OAuth to your Supabase project---import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-## Description--How to set up Facebook Login--The setup process consists of three parts:+Setting up Facebook logins for your application consists of 3 parts:* Create and configure a Facebook Application on the [Facebook Devalopers Site](https://developers.facebook.com)* Add your Facebook keys to your [Supabase Project](https://supabase.io)@@ -47,7 +43,7 @@ From the "Add Products to your App" screen:- Click on the "Settings" icon at the bottom of the left sidebar- Click on "API" in the list- Under Config / URL you'll find your API URL, you can click "Copy" to copy it to the clipboard- - Now just add "/auth/v1/callback" to the end of that to get your full "OAauth Redirect URI"+ - Now just add "/auth/v1/callback" to the end of that to get your full "OAuth Redirect URI"- Enter this in the "Valid OAuth Redirect URIs" box- Click "Save Changes" at the bottom right@@ -70,7 +66,7 @@ From the "Add Products to your App" screen:### Add login code to your client app-The JavaScript client code is documented here: [Supabase OAauth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)+The JavaScript client code is documented here: [Supabase OAuth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)```jsconst { user, session, error } = await supabase.auth.signIn({diff --git a/web/docs/guides/auth/auth-github.mdx b/web/docs/guides/auth/auth-github.mdxindex 74875794018..bf4f45febac 100644--- a/web/docs/guides/auth/auth-github.mdx+++ b/web/docs/guides/auth/auth-github.mdx@@ -1,17 +1,13 @@---id: auth-github-title: "Github Login"-description: Setting up Github Login+title: "Setting up Github Auth"+description: Add Github OAuth to your Supabase project---import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-## Description--How to set up Github Login--The setup process consists of three parts:+Setting up Github logins for your application consists of 3 parts:* Create and configure a Github OAuth App on [Github](https://github.com)* Add your Github OAuth keys to your [Supabase Project](https://supabase.io)@@ -44,7 +40,7 @@ Register a new OAuth application- Click on the "Settings" icon at the bottom of the left sidebar- Click on "API" in the list- Under Config / URL you'll find your API URL, you can click "Copy" to copy it to the clipboard- - Now just add "/auth/v1/callback" to the end of that to get your full "OAauth Redirect URI"+ - Now just add "/auth/v1/callback" to the end of that to get your full "OAuth Redirect URI"- Enter this in the "Valid OAuth Redirect URIs" box- Click "Save Changes" at the bottom right- Click "Register Application"@@ -67,7 +63,7 @@ Copy your new OAuth credentials### Add login code to your client app-The JavaScript client code is documented here: [Supabase OAauth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)+The JavaScript client code is documented here: [Supabase OAuth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)```jsconst { user, session, error } = await supabase.auth.signIn({diff --git a/web/docs/guides/auth/auth-gitlab.mdx b/web/docs/guides/auth/auth-gitlab.mdxindex 74d5f0f0eb6..cbeb0273aaf 100644--- a/web/docs/guides/auth/auth-gitlab.mdx+++ b/web/docs/guides/auth/auth-gitlab.mdx@@ -1,17 +1,13 @@---id: auth-gitlab-title: "GitLab Login"-description: Setting up GitLab Login+title: "Setting up GitLab Auth"+description: Add GitLab OAuth to your Supabase project---import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-## Description--How to set up GitLab Login--The setup process consists of three parts:+Setting up GitLab logins for your application consists of 3 parts:* Create and configure a GitLab Application on [GitLab](https://gitlab.com)* Add your GitLab Application keys to your [Supabase Project](https://supabase.io)@@ -38,7 +34,7 @@ Once logged into *"GitLab"*:- Click on the "Settings" icon at the bottom of the left sidebar- Click on "API" in the list- Under Config / URL you'll find your API URL, you can click "Copy" to copy it to the clipboard- - Now just add "/auth/v1/callback" to the end of that to get your full "OAauth Redirect URI"+ - Now just add "/auth/v1/callback" to the end of that to get your full "OAuth Redirect URI"- Enter this in the "Redirect URI" box- Check the box next to "Confidential" (make sure it is checked)- Check the scope named `read_user` (this is the only required scope)@@ -57,7 +53,7 @@ Once logged into *"GitLab"*:### Add login code to your client app-The JavaScript client code is documented here: [Supabase OAauth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)+The JavaScript client code is documented here: [Supabase OAuth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)```jsconst { user, session, error } = await supabase.auth.signIn({diff --git a/web/docs/guides/auth/auth-google.mdx b/web/docs/guides/auth/auth-google.mdxindex 650e1b72526..2671151f877 100644--- a/web/docs/guides/auth/auth-google.mdx+++ b/web/docs/guides/auth/auth-google.mdx@@ -1,17 +1,13 @@---id: auth-google-title: "Google Login"-description: Setting up Google Login+title: "Setting up Google Auth"+description: Add Google OAuth to your Supabase project---import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-## Description--How to set up Google Login--The setup process consists of three parts:+Setting up Google logins for your application consists of 3 parts:* Create and configure a Google Project on the [Google Cloud Platform Console](https://console.cloud.google.com/home/dashboard)* Add your Google OAuth keys to your [Supabase Project](https://supabase.io)@@ -34,13 +30,13 @@ Once logged into *"Google Cloud Platform"*:- (This can take a few minutes.)- This should bring you to the dashboard for your new project.-### Create the OAauth Keys for your project+### Create the OAuth Keys for your projectFrom your project's dashboard screen:- In the search bar at the top labelled "Search products and resources" type "OAuth"-- Click on "OAauth consent screen" from the list of results-- On the "OAauth consent screen" page select "External"+- Click on "OAuth consent screen" from the list of results+- On the "OAuth consent screen" page select "External"- Click "Create"Edit your app information@@ -51,7 +47,7 @@ Edit your app informationCreate your credentials- Click "Credentials" at the left to go to the "Credentials" page-- Click "Create Credentials" near the top then select "OAauth client ID"+- Click "Create Credentials" near the top then select "OAuth client ID"- On the "Create OAuth client ID" page, select your application type. If you're not sure, choose "Web application".- Fill in your app name- At the bottom, under "Authorised redirect URIs" click "Add URI"@@ -63,7 +59,7 @@ Create your credentials- Click on the "Settings" icon at the bottom of the left sidebar- Click on "API" in the list- Under Config / URL you'll find your API URL, you can click "Copy" to copy it to the clipboard- - Now just add "/auth/v1/callback" to the end of that to get your full "OAauth Redirect URI"+ - Now just add "/auth/v1/callback" to the end of that to get your full "OAuth Redirect URI"- Enter this in the "Valid OAuth Redirect URIs" box- Click "Save Changes" at the bottom right- Click "Create"@@ -86,7 +82,7 @@ Copy your new OAuth credentials### Add login code to your client app-The JavaScript client code is documented here: [Supabase OAauth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)+The JavaScript client code is documented here: [Supabase OAuth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)```jsconst { user, session, error } = await supabase.auth.signIn({diff --git a/web/docs/guides2/auth-facebook.mdx b/web/docs/guides2/auth-facebook.mdxindex ee8327c5e84..0f756cdf3c3 100644--- a/web/docs/guides2/auth-facebook.mdx+++ b/web/docs/guides2/auth-facebook.mdx@@ -60,7 +60,7 @@ From the "Add Products to your App" screen:- Click on the "Settings" icon at the bottom of the left sidebar- Click on "API" in the list- Under Config / URL you'll find your API URL, you can click "Copy" to copy it to the clipboard- - Now just add "/auth/v1/callback" to the end of that to get your full "OAauth Redirect URI"+ - Now just add "/auth/v1/callback" to the end of that to get your full "OAuth Redirect URI"- Enter this in the "Valid OAuth Redirect URIs" box- Click "Save Changes" at the bottom right@@ -83,7 +83,7 @@ From the "Add Products to your App" screen:### Add login code to your client app-The JavaScript client code is documented here: [Supabase OAauth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)+The JavaScript client code is documented here: [Supabase OAuth Client Code](https://supabase.io/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers)```jsconst { user, session, error } = await supabase.auth.signIn({