The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Adds images to the auth pages
Paul Copplestoneb66da9bb56c9
diff --git a/web/docs/guides/auth/auth-apple.mdx b/web/docs/guides/auth/auth-apple.mdxindex 42c1f93c0c9..ced239de56f 100644--- a/web/docs/guides/auth/auth-apple.mdx+++ b/web/docs/guides/auth/auth-apple.mdx@@ -27,6 +27,8 @@ Apple OAuth consists of six broad steps:- Go to [developer.apple.com](https://developer.apple.com).- Click on `Account` at the top right to log in.++### Obtain an App ID- Go to `Certificates, Identifiers & Profiles`.@@ -62,12 +64,16 @@ In the next step you require a callback URL, which looks like this:`https://<project-ref>.supabase.co/auth/v1/callback`-- Go to your [Supasebase Project Dashboard](https://supabase.io).+- Go to your [Supabase 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`.+<video width="99%" muted playsInline controls="true">+<source src="/videos/api/api-url-and-key.mp4" type="video/mp4" muted playsInline />+</video>+### Configure your Services ID- Under `Identifiers`, click on your newly-created Services ID.@@ -163,7 +169,7 @@ puts token### Add your OAuth credentials to Supabase-- Go to your [Supasebase Dashboard](https://supabase.io).+- Go to your [Supabase 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).diff --git a/web/docs/guides/auth/auth-bitbucket.mdx b/web/docs/guides/auth/auth-bitbucket.mdxindex bbf731674a5..8ffc3e9ece7 100644--- a/web/docs/guides/auth/auth-bitbucket.mdx+++ b/web/docs/guides/auth/auth-bitbucket.mdx@@ -20,18 +20,29 @@ Setting up Bitbucket logins for your application consists of 3 parts:## Steps+### Access your Bitbucket account++- Go to [bitbucket.org](https://bitbucket.org/).+- Click on `Login` at the top right to log in.+++### Find your callback URLIn the next step you require a callback URL, which looks like this:`https://<project-ref>.supabase.co/auth/v1/callback`-- Go to your [Supasebase Project Dashboard](https://supabase.io).+- Go to your [Supabase 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`.+<video width="99%" muted playsInline controls="true">+<source src="/videos/api/api-url-and-key.mp4" type="video/mp4" muted playsInline />+</video>+### Create a Bitbucket OAuth app- Click on your profile icon at the bottom left@@ -49,7 +60,7 @@ In the next step you require a callback URL, which looks like this:### Add your Bitbucket credentials into your Supabase Project-- Go to your [Supasebase Project Dashboard](https://supabase.io)+- Go to your [Supabase 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)diff --git a/web/docs/guides/auth/auth-facebook.mdx b/web/docs/guides/auth/auth-facebook.mdxindex cc542294756..8207f648924 100644--- a/web/docs/guides/auth/auth-facebook.mdx+++ b/web/docs/guides/auth/auth-facebook.mdx@@ -19,9 +19,12 @@ Setting up Facebook logins for your application consists of 3 parts:## Steps-### Create a Facebook Developer Account+### Access your Facebook Developer account-First, you'll need a Developer Account at [developers.facebook.com](https://developers.facebook.com).+- Go to [developers.facebook.com](https://developers.facebook.com).+- Click on `Log In` at the top right to log in.++### Create a Facebook App@@ -38,12 +41,16 @@ In the next step you require a callback URI, which looks like this:`https://<project-ref>.supabase.co/auth/v1/callback`-- Go to your [Supasebase Project Dashboard](https://supabase.io).+- Go to your [Supabase 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`.+<video width="99%" muted playsInline controls="true">+<source src="/videos/api/api-url-and-key.mp4" type="video/mp4" muted playsInline />+</video>+### Set up FaceBook Login for your Facebook AppFrom the `Add Products to your App` screen:@@ -63,7 +70,7 @@ From the `Add Products to your App` screen:### Enter your Facebook App ID and Secret into your Supabase Project-- Go to your [Supasebase Project Dashboard](https://supabase.io)+- Go to your [Supabase 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)diff --git a/web/docs/guides/auth/auth-github.mdx b/web/docs/guides/auth/auth-github.mdxindex 2fbc23a8134..7a28178ec95 100644--- a/web/docs/guides/auth/auth-github.mdx+++ b/web/docs/guides/auth/auth-github.mdx@@ -19,6 +19,13 @@ Setting up GitHub logins for your application consists of 3 parts:## Steps+### Access your GitHub account++- Go to [github.com](https://github.com).+- Click on `Sign In` at the top right to log in.+++### Create a GitHub Oauth AppGo to the [GitHub Developer Settings](https://github.com/settings/developers) page:@@ -34,12 +41,16 @@ In the next step you require a callback URL, which looks like this:`https://<project-ref>.supabase.co/auth/v1/callback`-- Go to your [Supasebase Project Dashboard](https://supabase.io).+- Go to your [Supabase 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`.+<video width="99%" muted playsInline controls="true">+<source src="/videos/api/api-url-and-key.mp4" type="video/mp4" muted playsInline />+</video>+### Register a new OAuth application- Click `Register a new application`. If you've created an app before, click `New OAuth App` here.@@ -58,7 +69,7 @@ Copy your new OAuth credentials### Enter your GitHub credentials into your Supabase Project-- Go to your [Supasebase Project Dashboard](https://supabase.io)+- Go to your [Supabase 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)diff --git a/web/docs/guides/auth/auth-gitlab.mdx b/web/docs/guides/auth/auth-gitlab.mdxindex 7803c572769..20513fefb1d 100644--- a/web/docs/guides/auth/auth-gitlab.mdx+++ b/web/docs/guides/auth/auth-gitlab.mdx@@ -19,39 +19,50 @@ Setting up GitLab logins for your application consists of 3 parts:## Steps+### Access your GitLab account++- Go to [gitlab.com](https://gitlab.com).+- Click on `Login` at the top right to log in.+++### Find your callback URLIn the next step you require a callback URL, which looks like this:`https://<project-ref>.supabase.co/auth/v1/callback`-- Go to your [Supasebase Project Dashboard](https://supabase.io).+- Go to your [Supabase 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`.+<video width="99%" muted playsInline controls="true">+<source src="/videos/api/api-url-and-key.mp4" type="video/mp4" muted playsInline />+</video>+### Create your GitLab Application-- Click on your `profile logo` (avatar) in the top-right corner+- Click on your `profile logo` (avatar) in the top-right corner.- Select `Edit profile`.- In the left sidebar, select Applications.-- Enter the name of the application+- Enter the name of the application.- In the `Redirect URI` box, type the callback URL of your app.-- Check the box next to `Confidential` (make sure it is checked)-- Check the scope named `read_user` (this is the only required scope)-- Click `Save Application` at the bottom-- Copy and save your `Application ID` (`client_id`) and `Secret` (`client_secret`) which you'll need later+- Check the box next to `Confidential` (make sure it is checked).+- Check the scope named `read_user` (this is the only required scope).+- Click `Save Application` at the bottom.+- Copy and save your `Application ID` (`client_id`) and `Secret` (`client_secret`) which you'll need later.### 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)-- 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 `GitLab Enabled` to ON-- Enter your `client_id` and `client_secret` saved in the previous step-- Click `Save`+- Go to your [Supabase 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 `GitLab Enabled` to ON.+- Enter your `client_id` and `client_secret` saved in the previous step.+- Click `Save`.### Add login code to your client appdiff --git a/web/docs/guides/auth/auth-google.mdx b/web/docs/guides/auth/auth-google.mdxindex a634fc326ba..2ef4a3b5fa9 100644--- a/web/docs/guides/auth/auth-google.mdx+++ b/web/docs/guides/auth/auth-google.mdx@@ -19,9 +19,12 @@ Setting up Google logins for your application consists of 3 parts:## Steps-### Create a Google Cloud Platform Account+### Access your Google Cloud Platform account-First, you'll need an Account at [Google Cloud Platform](https://console.cloud.google.com/home/dashboard).+- Go to [cloud.google.com](https://cloud.google.com).+- Click on `Sign in` at the top right to log in.++### Create a Google Cloud Platform Project@@ -52,12 +55,16 @@ In the next step you require a callback URL, which looks like this:`https://<project-ref>.supabase.co/auth/v1/callback`-- Go to your [Supasebase Project Dashboard](https://supabase.io).+- Go to your [Supabase 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`.+<video width="99%" muted playsInline controls="true">+<source src="/videos/api/api-url-and-key.mp4" type="video/mp4" muted playsInline />+</video>+### Create your credentials- Click `Credentials` at the left to go to the `Credentials` page@@ -78,7 +85,7 @@ Copy your new OAuth credentials### Enter your Google credentials into your Supabase Project-- Go to your [Supasebase Project Dashboard](https://supabase.io)+- Go to your [Supabase 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)diff --git a/web/docs/guides/auth/auth-twitter.mdx b/web/docs/guides/auth/auth-twitter.mdxindex d25805ceb4b..a99916b644d 100644--- a/web/docs/guides/auth/auth-twitter.mdx+++ b/web/docs/guides/auth/auth-twitter.mdx@@ -19,21 +19,31 @@ Setting up Twitter logins for your application consists of 3 parts:## Steps+### Access your Twitter Developer account++- Go to [developer.twitter.com](https://developer.twitter.com).+- Click on `Sign in` at the top right to log in.+++### Find your callback URLIn the next step you require a callback URL, which looks like this:`https://<project-ref>.supabase.co/auth/v1/callback`-- Go to your [Supasebase Project Dashboard](https://supabase.io).+- Go to your [Supabase 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`.+<video width="99%" muted playsInline controls="true">+<source src="/videos/api/api-url-and-key.mp4" type="video/mp4" muted playsInline />+</video>+### 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`.@@ -54,7 +64,7 @@ In the next step you require a callback URL, which looks like this:### Enter your Twitter credentials into your Supabase Project-- Go to your [Supasebase Project Dashboard](https://supabase.io).+- Go to your [Supabase 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).diff --git a/web/static/img/guides/apple-developer-portal.png b/web/static/img/guides/apple-developer-portal.pngnew file mode 100644index 00000000000..85309c4dc6dBinary files /dev/null and b/web/static/img/guides/apple-developer-portal.png differdiff --git a/web/static/img/guides/bitbucket-portal.png b/web/static/img/guides/bitbucket-portal.pngnew file mode 100644index 00000000000..ebf0a58155fBinary files /dev/null and b/web/static/img/guides/bitbucket-portal.png differdiff --git a/web/static/img/guides/facebook-portal.png b/web/static/img/guides/facebook-portal.pngnew file mode 100644index 00000000000..906ea2a4349Binary files /dev/null and b/web/static/img/guides/facebook-portal.png differdiff --git a/web/static/img/guides/github-portal.png b/web/static/img/guides/github-portal.pngnew file mode 100644index 00000000000..e987ecf54acBinary files /dev/null and b/web/static/img/guides/github-portal.png differdiff --git a/web/static/img/guides/gitlab-portal.png b/web/static/img/guides/gitlab-portal.pngnew file mode 100644index 00000000000..90c70078a3cBinary files /dev/null and b/web/static/img/guides/gitlab-portal.png differdiff --git a/web/static/img/guides/google-portal.png b/web/static/img/guides/google-portal.pngnew file mode 100644index 00000000000..1745dbef320Binary files /dev/null and b/web/static/img/guides/google-portal.png differdiff --git a/web/static/img/guides/twitter-portal.png b/web/static/img/guides/twitter-portal.pngnew file mode 100644index 00000000000..7c399e170c2Binary files /dev/null and b/web/static/img/guides/twitter-portal.png differ