The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: update docs external sidebar
awalias5bc38c0bf55a
diff --git a/web/docs/guides/auth/auth-apple.mdx b/web/docs/guides/auth/auth-apple.mdxindex 40b169b5777..7de877dbc24 100644--- a/web/docs/guides/auth/auth-apple.mdx+++ b/web/docs/guides/auth/auth-apple.mdx@@ -1,6 +1,6 @@---id: auth-apple-title: "Setting up Apple Auth"+title: "OAuth with Apple"description: Add Apple OAuth to your Supabase project---diff --git a/web/docs/guides/auth/auth-bitbucket.mdx b/web/docs/guides/auth/auth-bitbucket.mdxindex b2c12a59ed4..55105487678 100644--- a/web/docs/guides/auth/auth-bitbucket.mdx+++ b/web/docs/guides/auth/auth-bitbucket.mdx@@ -1,6 +1,6 @@---id: auth-bitbucket-title: "Setting up Bitbucket Auth"+title: "OAuth with Bitbucket"description: Add Bitbucket OAuth to your Supabase project---diff --git a/web/docs/guides/auth/auth-discord.mdx b/web/docs/guides/auth/auth-discord.mdxindex a15cd5b01fe..58e7f369ead 100644--- a/web/docs/guides/auth/auth-discord.mdx+++ b/web/docs/guides/auth/auth-discord.mdx@@ -1,6 +1,6 @@---id: auth-discord-title: "Setting up Discord Auth"+title: "OAuth with Discord"description: Add Discord OAuth to your Supabase project---diff --git a/web/docs/guides/auth/auth-facebook.mdx b/web/docs/guides/auth/auth-facebook.mdxindex 3d81bb2ad1f..c286aa54add 100644--- a/web/docs/guides/auth/auth-facebook.mdx+++ b/web/docs/guides/auth/auth-facebook.mdx@@ -1,6 +1,6 @@---id: auth-facebook-title: "Setting up Facebook Auth"+title: "OAuth with Facebook"description: Add Facebook OAuth to your Supabase project---diff --git a/web/docs/guides/auth/auth-github.mdx b/web/docs/guides/auth/auth-github.mdxindex 7cff03c5950..9f0c9c498df 100644--- a/web/docs/guides/auth/auth-github.mdx+++ b/web/docs/guides/auth/auth-github.mdx@@ -1,6 +1,6 @@---id: auth-github-title: "Setting up GitHub Auth"+title: "OAuth with GitHub"description: Add GitHub OAuth to your Supabase project---diff --git a/web/docs/guides/auth/auth-gitlab.mdx b/web/docs/guides/auth/auth-gitlab.mdxindex 4fc95ddc885..b11c81854c6 100644--- a/web/docs/guides/auth/auth-gitlab.mdx+++ b/web/docs/guides/auth/auth-gitlab.mdx@@ -1,6 +1,6 @@---id: auth-gitlab-title: "Setting up GitLab Auth"+title: "OAuth with GitLab"description: Add GitLab OAuth to your Supabase project---diff --git a/web/docs/guides/auth/auth-google.mdx b/web/docs/guides/auth/auth-google.mdxindex d59d56d8cf2..247e0964927 100644--- a/web/docs/guides/auth/auth-google.mdx+++ b/web/docs/guides/auth/auth-google.mdx@@ -1,6 +1,6 @@---id: auth-google-title: "Setting up Google Auth"+title: "OAuth with Google"description: Add Google OAuth to your Supabase project---diff --git a/web/docs/guides/auth/auth-twilio.mdx b/web/docs/guides/auth/auth-twilio.mdxindex 251d9d514d3..252c6541169 100644--- a/web/docs/guides/auth/auth-twilio.mdx+++ b/web/docs/guides/auth/auth-twilio.mdx@@ -8,6 +8,8 @@ import ExtensionsComponent from '../../../../web/src/components/Extensions'import Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';+## Overview+In this guide we'll show you how to authenticate your users with SMS based OTP (One-Time Password) tokens.There are two reasons to use Supabase SMS OTP tokens:@@ -24,7 +26,9 @@ What you'll need:- A Supabase project (create one here: https://app.supabase.io)- A mobile phone capable of receiving SMS-## Finding your Twilio credentials+## Steps++### Finding your Twilio credentialsStart by logging into your Twilio account and starting a new project: https://www.twilio.com/console/projects/create@@ -65,7 +69,7 @@ Note: for "Twilio Message Service SID" you can use the Sender Phone Number generNow the backend should be setup, we can proceed to adding our clientside code!-## Using OTP with password based logins+### Using OTP with password based loginsIn this use scenario we'll be using the user's mobile phone number as an alternative to an email address when signing up along with a password. You may want to think hard about the permanency of this however. It is not uncommon for mobile phone numbers to be recycled by phone networks when users cancel their phone contracts or move countries, therefore granting access to the user's account to whomever takes over the phone number in the future. Soon we'll add multi-factor auth, which will mitigate this risk, but for now you may want to give some thought to allowing your users to recover their account by some other means in an emergency.@@ -184,7 +188,7 @@ curl -X POST 'https://cvwawazfelidkloqmbma.supabase.co/auth/v1/token?grant_type=</TabItem></Tabs>-## Using OTP as a passwordless sign-in mechanism+### Using OTP as a passwordless sign-in mechanismIn this scenario you are granting your user's the ability to login to their account without needing to set a password on their account, all they have to do to log in is verify their mobile each time using the OTP.@@ -265,3 +269,9 @@ and the response should also be the same as above:```The user does not have a password therefore will need to sign in via this method each time they want to access your service.++## Resources++- [Twilio Signup](https://www.twilio.com/try-twilio)+- [Supabase Dashboard](https://app.supabase.io)+- [Supabase Row Level Security](https://supabase.io/docs/guides/auth#row-level-security)diff --git a/web/docs/guides/auth/auth-twitter.mdx b/web/docs/guides/auth/auth-twitter.mdxindex 64f1e2a1c27..c1e4574abee 100644--- a/web/docs/guides/auth/auth-twitter.mdx+++ b/web/docs/guides/auth/auth-twitter.mdx@@ -1,6 +1,6 @@---id: auth-twitter-title: "Setting up Twitter Auth"+title: "OAuth with Twitter"description: Add Twitter OAuth to your Supabase project---diff --git a/web/sidebars.js b/web/sidebars.jsindex dd84e48fb53..b02b9a49b28 100755--- a/web/sidebars.js+++ b/web/sidebars.js@@ -147,10 +147,9 @@ module.exports = {collapsed: false,items: ['guides/auth/managing-user-data',- 'guides/auth/auth-twilio',{type: 'category',- label: 'OAuth Providers',+ label: 'External Providers',collapsed: false,items: ['guides/auth/auth-apple',@@ -161,6 +160,7 @@ module.exports = {'guides/auth/auth-gitlab','guides/auth/auth-google','guides/auth/auth-twitter',+ 'guides/auth/auth-twilio',],},],