The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Adds some editorial changes
Paul Copplestone1c2e367ba0b9
diff --git a/web/docs/guides/auth/auth-apple.mdx b/web/docs/guides/auth/auth-apple.mdxindex a3a1697677c..d5dc6be50b1 100644--- a/web/docs/guides/auth/auth-apple.mdx+++ b/web/docs/guides/auth/auth-apple.mdx@@ -20,7 +20,7 @@ Apple OAuth consists of six broad steps:### Log into your Apple Developer Account-- Go to [https://developer.apple.com](https://developer.apple.com).+- Go to [developer.apple.com](https://developer.apple.com).- Click on `Account` at the top right to log in.### Obtain an App Id with “Sign In with Apple” capabilities.diff --git a/web/docs/guides/auth/auth-bitbucket.mdx b/web/docs/guides/auth/auth-bitbucket.mdxindex 874b963601f..e5205b2bd39 100644--- a/web/docs/guides/auth/auth-bitbucket.mdx+++ b/web/docs/guides/auth/auth-bitbucket.mdx@@ -15,9 +15,7 @@ Setting up Bitbucket logins for your application consists of 3 parts:## Steps-### Log into your Bitbucket Account--Once logged into *"Bitbucket"*:+### Create a Bitbucket OAuth app- Click on your profile icon at the bottom left- Click on `All Workspaces`@@ -42,7 +40,7 @@ Once logged into *"Bitbucket"*:- Click on your app name (the name of your new OAuth Consumer)- Copy your `Key` (`client_key`) and `Secret` (`client_secret`) codes-### Enter your Bitbucket `client_id` and `client_secret` into your Supabase Project+### Add your Bitbucket credentials into your Supabase Project- Go to your [Supasebase Project Dashboard](https://supabase.io)- In the left sidebar, click the `Authentication` icon (near the top)diff --git a/web/docs/guides/auth/auth-facebook.mdx b/web/docs/guides/auth/auth-facebook.mdxindex 763286fb9c3..9139e421401 100644--- a/web/docs/guides/auth/auth-facebook.mdx+++ b/web/docs/guides/auth/auth-facebook.mdx@@ -17,12 +17,10 @@ Setting up Facebook logins for your application consists of 3 parts:### Create a Facebook Developer Account-First, you'll need a Developer Account at [https://developers.facebook.com](https://developers.facebook.com).+First, you'll need a Developer Account at [developers.facebook.com](https://developers.facebook.com).### Create a Facebook App-Once logged into *"Facebook for Developers"*:-- Click on `My Apps` at the top right.- Click `Create App` near the top right.- Select your app type and click `Continue`.diff --git a/web/docs/guides/auth/auth-github.mdx b/web/docs/guides/auth/auth-github.mdxindex b619ee526e3..80acb0395bc 100644--- a/web/docs/guides/auth/auth-github.mdx+++ b/web/docs/guides/auth/auth-github.mdx@@ -1,25 +1,23 @@---id: auth-github-title: "Setting up Github Auth"-description: Add Github OAuth to your Supabase project+title: "Setting up GitHub Auth"+description: Add GitHub OAuth to your Supabase project---import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-Setting up Github logins for your application consists of 3 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)+* Create and configure a GitHub OAuth App on [GitHub](https://github.com)+* Add your GitHub OAuth keys to your [Supabase Project](https://supabase.io)* Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js)## Steps-### Log into your *Github* Account+### Create a GitHub Oauth App-Once logged into *Github*:--Go to the [Github Developer Settings](https://github.com/settings/developers) page:+Go to the [GitHub Developer Settings](https://github.com/settings/developers) page:- Click on your profile photo at the top right- Click Settings near the bottom of the menu@@ -51,14 +49,14 @@ Copy your new OAuth credentials- Click `Generate a new client secret`- Copy and save your `Client secret`-### Enter your Github Client ID and Client Secret into your Supabase Project+### Enter your GitHub credentials into your Supabase Project- Go to your [Supasebase Project Dashboard](https://supabase.io)- In the left sidebar, click the `Authentication` icon (near the top)- Click `Settings` from the list to go to the `Authentication Settings` page- Enter the final (hosted) URL of your app under `Site URL` (this is important)-- Under `External OAuth Providers` turn `Github Enabled` to ON-- Enter your `Github Client ID` and `Github Client Secret` saved in the previous step+- Under `External OAuth Providers` turn `GitHub Enabled` to ON+- Enter your `GitHub Client ID` and `GitHub Client Secret` saved in the previous step- Click `Save`### Add login code to your client app@@ -93,4 +91,4 @@ function signout() {* [Supabase Account - Free Tier OK](https://supabase.io)* [Supabase JS Client](https://github.com/supabase/supabase-js)-* [Github Developer Settings](https://github.com/settings/developers)+* [GitHub Developer Settings](https://github.com/settings/developers)diff --git a/web/docs/guides/auth/auth-gitlab.mdx b/web/docs/guides/auth/auth-gitlab.mdxindex f8de4d28dd7..cb053f71368 100644--- a/web/docs/guides/auth/auth-gitlab.mdx+++ b/web/docs/guides/auth/auth-gitlab.mdx@@ -15,10 +15,6 @@ Setting up GitLab logins for your application consists of 3 parts:## Steps-### Log into your *GitLab* Account--Once logged into *GitLab*:-### Create your GitLab Application- Click on your `profile logo` (avatar) in the top-right corner@@ -41,7 +37,7 @@ Once logged into *GitLab*:- Click `Save Application` at the bottom- Copy and save your `Application ID` (`client_id`) and `Secret` (`client_secret`) which you'll need later-### Enter your GitLab `client_id` and `client_secret` into your Supabase Project+### Add your GitLab credentials into your Supabase Project- Go to your [Supasebase Project Dashboard](https://supabase.io)- In the left sidebar, click the `Authentication` icon (near the top)diff --git a/web/docs/guides/auth/auth-google.mdx b/web/docs/guides/auth/auth-google.mdxindex 2c3403202fd..efc3254636e 100644--- a/web/docs/guides/auth/auth-google.mdx+++ b/web/docs/guides/auth/auth-google.mdx@@ -21,8 +21,6 @@ First, you'll need an Account at [Google Cloud Platform](https://console.cloud.g### Create a Google Cloud Platform Project-Once logged into *Google Cloud Platform*:-- Click on `Select a Project` at the top left.- (Or, if a project is currently selected, click on the current project name at the top left.)- Click `New Project` at the top right.@@ -70,7 +68,7 @@ Copy your new OAuth credentials- Copy and save the values under `Your Client ID` and `Your Client Secret`-### Enter your Google Client ID and Client Secret into your Supabase Project+### Enter your Google credentials into your Supabase Project- Go to your [Supasebase Project Dashboard](https://supabase.io)- In the left sidebar, click the `Authentication` icon (near the top)diff --git a/web/docs/guides/auth/auth-twitter.mdx b/web/docs/guides/auth/auth-twitter.mdxindex 6412dbb192e..15980f369fc 100644--- a/web/docs/guides/auth/auth-twitter.mdx+++ b/web/docs/guides/auth/auth-twitter.mdx@@ -9,56 +9,55 @@ import TabItem from '@theme/TabItem';Setting up Twitter logins for your application consists of 3 parts:-* Create and configure a Twitter Project and App on the [Twitter Developer Dashboard](https://developer.twitter.com/en/portal/dashboard)-* Add your Twitter `API Key` and `API Secret Key` to your [Supabase Project](https://supabase.io)-* Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js)+* Create and configure a Twitter Project and App on the [Twitter Developer Dashboard](https://developer.twitter.com/en/portal/dashboard).+* Add your Twitter `API Key` and `API Secret Key` to your [Supabase Project](https://supabase.io).+* Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js).## Steps-### Log into the *Twitter Developer Dashboard*--Once logged into the *Twitter Developer Dashboard*:--- Click `+ Create Project`- - Enter your project name, click `Next`- - Select your use case, click `Next`- - Enter a description for your project, click `Next`- - Enter a name for your app, click `Complete`- - Copy and save your `API Key` (this is your `client_id`)- - Copy and save your `API Secret Key` (this is your `client_secret`)-- At the bottom, under `Next, setup your App` click the link `enable 3rd party authentication`-- Under `App Sttings`, click on the gear icon next to your app name to go to `App Settings`-- At the bottom, next to `Authentication settings`, click `Edit`-- Turn `Enable 3-legged OAuth` ON-- Turn `Request email address from users` ON-- Enter your `Callback URL`+### Create a Twitter OAuth app++- Log into the *Twitter Developer Dashboard*.+- Click `+ Create Project`.+ - Enter your project name, click `Next`.+ - Select your use case, click `Next`.+ - Enter a description for your project, click `Next`.+ - Enter a name for your app, click `Complete`.+ - Copy and save your `API Key` (this is your `client_id`).+ - Copy and save your `API Secret Key` (this is your `client_secret`).+- At the bottom, under `Next, setup your App` click the link `enable 3rd party authentication`.+- Under `App Sttings`, click on the gear icon next to your app name to go to `App Settings`.+- At the bottom, next to `Authentication settings`, click `Edit`.+- Turn `Enable 3-legged OAuth` ON.+- Turn `Request email address from users` ON.+- Enter your `Callback URL`.- Your `Callback URL` or `OAuth Redirect URI` looks like this:- - `https://<project-ref>.supabase.co/auth/v1/callback`- - where `https://<project-ref>.supabase.co` is your Supabase Project API URL- - Go to your [Supasebase Project Dashboard](https://supabase.io)- - 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 `OAuth Redirect URI`- - Enter this in the `Callback URL` box-- Enter your `Website URL`-- Enter your `Terms of service URL`-- Enter your `Privacy policy URL`-- Click `Save`--### Enter your Twitter API Key and API Secret Key into your Supabase Project--- Go to your [Supasebase Project Dashboard](https://supabase.io)-- In the left sidebar, click the `Authentication` icon (near the top)-- Click `Settings` from the list to go to the `Authentication Settings` page-- Enter the final (hosted) URL of your app under `Site URL` (this is important)-- Under `External OAuth Providers` turn `Twitter Enabled` to ON-- Enter your `API Key` (`client_id`) and `API Secret Key` (`client_secret`) saved in the previous step-- Click `Save`+ - `https://<project-ref>.supabase.co/auth/v1/callback`.+ - where `https://<project-ref>.supabase.co` is your Supabase Project API URL.+ - Go to your [Supasebase Project Dashboard](https://supabase.io).+ - 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 `OAuth Redirect URI`.+ - Enter this in the `Callback URL` box.+- Enter your `Website URL`.+- Enter your `Terms of service URL`.+- Enter your `Privacy policy URL`.+- Click `Save`.++### Enter your Twitter credentials into your Supabase Project++- Go to your [Supasebase Project Dashboard](https://supabase.io).+- In the left sidebar, click the `Authentication` icon (near the top).+- Click `Settings` from the list to go to the `Authentication Settings` page.+- Enter the final (hosted) URL of your app under `Site URL` (this is important).+- Under `External OAuth Providers` turn `Twitter Enabled` to ON.+- Enter your `API Key` (`client_id`) and `API Secret Key` (`client_secret`) saved in the previous step.+- Click `Save`.### Add login code to your client app-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)+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/src/css/custom.css b/web/src/css/custom.cssindex 7107a73d4ae..0b07700f3ba 100755--- a/web/src/css/custom.css+++ b/web/src/css/custom.css@@ -250,6 +250,10 @@ body {display: inline-block;}+h4, h5, h6 {+ font-weight: bold !important;+}+.button {font-family: var(--custom-font-base);}