Skip to content

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

formatting changes - remove links from headers, use backticks for all tokens

Mark Burggraff68c0810f2a1
diff --git a/web/docs/guides/auth/auth-bitbucket.mdx b/web/docs/guides/auth/auth-bitbucket.mdx
index 6c856dd3744..874b963601f 100644
--- a/web/docs/guides/auth/auth-bitbucket.mdx
+++ b/web/docs/guides/auth/auth-bitbucket.mdx
@@ -15,42 +15,42 @@ Setting up Bitbucket logins for your application consists of 3 parts:
## Steps
-### Log into your [Bitbucket](https://bitbucket.org) Account
+### Log into your Bitbucket Account
Once logged into *"Bitbucket"*:
- Click on your profile icon at the bottom left
-- Click on "All Workspaces"
+- Click on `All Workspaces`
- Select a workspace and click on it to select it
-- Click on "Settings" on the left
-- Click on "OAuth consumers" on the left under "Apps and Features" (near the bottom)
-- Click "Add Consumer" at the top
+- Click on `Settings` on the left
+- Click on `OAuth consumers` on the left under `Apps and Features` (near the bottom)
+- Click `Add Consumer` at the top
- Enter your app data
- - Enter the name of your app under "Name"
-- In "Callback URL", type the callback URL of your app.
- - Your OAuth Redirect URI ("Callback URL") looks like this:
+ - Enter the name of your app under `Name`
+- In `Callback URL`, type the callback URL of your app.
+ - Your OAuth Redirect URI (`Callback URL`) 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
+ - 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
- Check the permissions you need (Email, Read should be enough)
- - Click "Save" at the bottom
+ - Click `Save` at the bottom
- Click on your app name (the name of your new OAuth Consumer)
-- Copy your "Key" (`client_key`) and "Secret" (`client_secret`) codes
+- Copy your `Key` (`client_key`) and `Secret` (`client_secret`) codes
### Enter your Bitbucket `client_id` and `client_secret` 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 "Bitbucket Enabled" to ON
+- 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 `Bitbucket Enabled` to ON
- Enter your `client_id` and `client_secret` saved in the previous step
-- Click "Save"
+- Click `Save`
### Add login code to your client app
diff --git a/web/docs/guides/auth/auth-facebook.mdx b/web/docs/guides/auth/auth-facebook.mdx
index a8f10fe0520..763286fb9c3 100644
--- a/web/docs/guides/auth/auth-facebook.mdx
+++ b/web/docs/guides/auth/auth-facebook.mdx
@@ -23,46 +23,46 @@ First, you'll need a Developer Account at [https://developers.facebook.com](http
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".
-- Fill in your app information, then click "Create App".
-- This should bring you to the screen: "Add Products to Your App". (Alternatively you can click on "Add Product" in the left sidebar to get to this screen.)
+- Click on `My Apps` at the top right.
+- Click `Create App` near the top right.
+- Select your app type and click `Continue`.
+- Fill in your app information, then click `Create App`.
+- This should bring you to the screen: `Add Products to Your App`. (Alternatively you can click on `Add Product` in the left sidebar to get to this screen.)
### Set up FaceBook Login for your Facebook App
-From the "Add Products to your App" screen:
+From the `Add Products to your App` screen:
-- Click "Setup" under "Facebook Login"
-- Skip the Quickstart screen, instead, in the left sidebar, click "Settings" under "Facebook Login"
-- Enter your callback URI under "Valid OAuth Redirect URIs" on the "Facebook Login Settings" page
+- Click `Setup` under `Facebook Login`
+- Skip the Quickstart screen, instead, in the left sidebar, click `Settings` under `Facebook Login`
+- Enter your callback URI under `Valid OAuth Redirect URIs` on the `Facebook Login Settings` page
- Your 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 "Valid OAuth Redirect URIs" box
- - Click "Save Changes" at the bottom right
+ - 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 `Valid OAuth Redirect URIs` box
+ - Click `Save Changes` at the bottom right
### Copy your Facebook App ID and Secret
-- Click "Settings / Basic" in the left sidebar
-- Copy your App ID from the top of the "Basic Settings" page
-- Under "App Secret" click "Show" then copy your secret
+- Click `Settings / Basic` in the left sidebar
+- Copy your App ID from the top of the `Basic Settings` page
+- Under `App Secret` click `Show` then copy your secret
- Make sure all required fields are completed on this screen.
### Enter your Facebook App ID and Secret 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 "Facebook Enabled" to ON
-- Enter your "Facebook client ID" and "Facebook secret" saved in the previous step
-- Click "Save"
+- 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 `Facebook Enabled` to ON
+- Enter your `Facebook client ID` and `Facebook secret` saved in the previous step
+- Click `Save`
### Add login code to your client app
diff --git a/web/docs/guides/auth/auth-github.mdx b/web/docs/guides/auth/auth-github.mdx
index ad961e2f798..b619ee526e3 100644
--- a/web/docs/guides/auth/auth-github.mdx
+++ b/web/docs/guides/auth/auth-github.mdx
@@ -15,51 +15,51 @@ Setting up Github logins for your application consists of 3 parts:
## Steps
-### Log into your [Github](https://github.com) Account
+### Log into your *Github* Account
-Once logged into *"Github"*:
+Once logged into *Github*:
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
-- In the left sidebar, click "Developer settings" (near the bottom)
-- In the left sidebar, click "OAuth Apps"
+- In the left sidebar, click `Developer settings` (near the bottom)
+- In the left sidebar, click `OAuth Apps`
Register a new OAuth application
-- Click "Register a new application"
- - (If you've created an app before, click "New OAuth App" here)
-- In "Application name", type the name of your app.
-- In "Homepage URL", type the full URL to your app's website.
-- In "Authorization callback URL", type the callback URL of your app.
+- Click `Register a new application`
+ - (If you've created an app before, click `New OAuth App` here)
+- In `Application name`, type the name of your app.
+- In `Homepage URL`, type the full URL to your app's website.
+- In `Authorization callback URL`, type the callback URL of your app.
- Your 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 "Valid OAuth Redirect URIs" box
- - Click "Save Changes" at the bottom right
-- Click "Register 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 `OAuth Redirect URI`
+ - Enter this in the `Valid OAuth Redirect URIs` box
+ - Click `Save Changes` at the bottom right
+- Click `Register Application`
Copy your new OAuth credentials
-- Copy and save your "Client ID"
-- Click "Generate a new client secret"
-- Copy and save your "Client secret"
+- Copy and save your `Client ID`
+- Click `Generate a new client secret`
+- Copy and save your `Client secret`
### Enter your Github Client ID and Client Secret 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
-- Click "Save"
+- 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
+- Click `Save`
### Add login code to your client app
diff --git a/web/docs/guides/auth/auth-gitlab.mdx b/web/docs/guides/auth/auth-gitlab.mdx
index b442ea282f6..f8de4d28dd7 100644
--- a/web/docs/guides/auth/auth-gitlab.mdx
+++ b/web/docs/guides/auth/auth-gitlab.mdx
@@ -15,41 +15,41 @@ Setting up GitLab logins for your application consists of 3 parts:
## Steps
-### Log into your [GitLab](https://gitlab.com) Account
+### Log into your *GitLab* Account
-Once logged into *"GitLab"*:
+Once logged into *GitLab*:
### Create your GitLab Application
-- Click on your profile logo (avatar) in the top-right corner
-- Select Edit profile.
+- Click on your `profile logo` (avatar) in the top-right corner
+- Select `Edit profile`.
- In the left sidebar, select Applications.
- Enter your app information
- Enter the name of the application
- - In the "Redirect URI" box, type the callback URL of your app.
- - Your "Redirect URI" ("Callback URL") looks like this:
+ - In the `Redirect URI` box, type the callback URL of your app.
+ - Your `Redirect URI` (`Callback URL`) 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 "Redirect URI" box
- - Check the box next to "Confidential" (make sure it is checked)
+ - 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 `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)
- - Click "Save Application" at the bottom
- - Copy and save your "Application ID" (`client_id`) and "Secret" (`client_secret`) which you'll need later
+ - 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
- 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
+- 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"
+- Click `Save`
### Add login code to your client app
diff --git a/web/docs/guides/auth/auth-google.mdx b/web/docs/guides/auth/auth-google.mdx
index 6ffb1e34cb2..2c3403202fd 100644
--- a/web/docs/guides/auth/auth-google.mdx
+++ b/web/docs/guides/auth/auth-google.mdx
@@ -21,12 +21,12 @@ 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"*:
+Once logged into *Google Cloud Platform*:
-- Click on "Select a Project" at the top left.
+- 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.
-- Fill in your app information, then click "Create".
+- Click `New Project` at the top right.
+- Fill in your app information, then click `Create`.
- (This can take a few minutes.)
- This should bring you to the dashboard for your new project.
@@ -34,51 +34,51 @@ Once logged into *"Google Cloud Platform"*:
From your project's dashboard screen:
-- In the search bar at the top labelled "Search products and resources" type "OAuth"
-- Click on "OAuth consent screen" from the list of results
-- On the "OAuth consent screen" page select "External"
-- Click "Create"
+- In the search bar at the top labelled `Search products and resources` type `OAuth`
+- Click on `OAuth consent screen` from the list of results
+- On the `OAuth consent screen` page select `External`
+- Click `Create`
Edit your app information
-- On the "Edit app registration" page fill out your app information
-- Click "Save and continue" at the bottom
+- On the `Edit app registration` page fill out your app information
+- Click `Save and continue` at the bottom
Create your credentials
-- Click "Credentials" at the left to go to the "Credentials" page
-- 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".
+- Click `Credentials` at the left to go to the `Credentials` page
+- 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"
-- Enter your callback URI under "Authorised redirect URIs" at the bottom
+- At the bottom, under `Authorised redirect URIs` click `Add URI`
+- Enter your callback URI under `Authorised redirect URIs` at the bottom
- Your 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 "Valid OAuth Redirect URIs" box
- - Click "Save Changes" at the bottom right
-- Click "Create"
+ - 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 `Valid OAuth Redirect URIs` box
+ - Click `Save Changes` at the bottom right
+- Click `Create`
Copy your new OAuth credentials
-- A box will appear called "OAuth client created"
-- Copy and save the values under "Your Client ID" and "Your Client Secret"
+- A box will appear called `OAuth client created`
+- 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
- 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 "Google Enabled" to ON
-- Enter your "Google Client ID" and "Google Client Secret" saved in the previous step
-- Click "Save"
+- 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 `Google Enabled` to ON
+- Enter your `Google Client ID` and `Google Client Secret` saved in the previous step
+- Click `Save`
### Add login code to your client app
diff --git a/web/docs/guides/auth/auth-twitter.mdx b/web/docs/guides/auth/auth-twitter.mdx
index 7dc6ea3f038..6412dbb192e 100644
--- a/web/docs/guides/auth/auth-twitter.mdx
+++ b/web/docs/guides/auth/auth-twitter.mdx
@@ -15,46 +15,46 @@ Setting up Twitter logins for your application consists of 3 parts:
## Steps
-### Log into the [Twitter Developer Dashboard](https://developer.twitter.com/en/portal/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"
- - Your "Callback URL" or "OAuth Redirect URI" looks like this:
+### 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`
+ - 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"
+ - 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"
+- 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
diff --git a/web/docusaurus.config.js b/web/docusaurus.config.js
index 377958724cb..35bcfafd337 100755
--- a/web/docusaurus.config.js
+++ b/web/docusaurus.config.js
@@ -73,12 +73,12 @@ module.exports = {
activeBaseRegex: '(^/docs$)|(/docs/faq)',
position: 'left',
},
- // {
- // label: 'Guides',
- // to: '/docs/guides',
- // activeBaseRegex: '(/docs/guides)',
- // position: 'left',
- // },
+ {
+ label: 'Guides',
+ to: '/docs/guides',
+ activeBaseRegex: '(/docs/guides)',
+ position: 'left',
+ },
{
label: 'Reference',
to: '/docs/reference/javascript/supabase-client',