Skip to content

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

docs: add tip that SMS auth can be expensive (#18466)

Stojan Dimitrovski6ba6ffc4ce1d
diff --git a/apps/docs/pages/guides/auth/phone-login.mdx b/apps/docs/pages/guides/auth/phone-login.mdx
index bf22f1926e1..a343b6a5124 100644
--- a/apps/docs/pages/guides/auth/phone-login.mdx
+++ b/apps/docs/pages/guides/auth/phone-login.mdx
@@ -8,6 +8,12 @@ export const meta = {
description: 'Learn about logging in to your platform using SMS one-time passwords.',
}
+<Admonition type="tip">
+
+ Authenticating users via SMS can become expensive. Adjust your project's rate limits and [configure CAPTCHA](/docs/guides/auth/auth-captcha) to control the bill. Read more about this in the [Production Checklist](/docs/guides/platform/going-into-prod).
+
+</Admonition>
+
Phone Login is a method of authentication that allows users to log in to a website or application without using a password. Instead of entering a password, the user provides another form of authentication through a one-time code sent via SMS.
## Benefits
diff --git a/apps/docs/pages/guides/auth/phone-login/messagebird.mdx b/apps/docs/pages/guides/auth/phone-login/messagebird.mdx
index 68e0918f7a8..c0f620d9851 100644
--- a/apps/docs/pages/guides/auth/phone-login/messagebird.mdx
+++ b/apps/docs/pages/guides/auth/phone-login/messagebird.mdx
@@ -6,6 +6,12 @@ export const meta = {
description: 'How to set up and use Mobile OTP with MessageBird and Supabase.',
}
+<Admonition type="tip">
+
+Authenticating users via SMS can become expensive. Adjust your project's rate limits and [configure CAPTCHA](/docs/guides/auth/auth-captcha) to control the bill. Read more about this in the [Production Checklist](/docs/guides/platform/going-into-prod).
+
+</Admonition>
+
## Overview
In this guide we'll show you how to authenticate your users with SMS based OTP (One-Time Password) tokens.
diff --git a/apps/docs/pages/guides/auth/phone-login/twilio.mdx b/apps/docs/pages/guides/auth/phone-login/twilio.mdx
index d903a2e2f44..c1dd2d29e74 100644
--- a/apps/docs/pages/guides/auth/phone-login/twilio.mdx
+++ b/apps/docs/pages/guides/auth/phone-login/twilio.mdx
@@ -7,6 +7,12 @@ export const meta = {
video: 'https://www.youtube.com/v/akScoPO01bc',
}
+<Admonition type="tip">
+
+Authenticating users via SMS can become expensive. Adjust your project's rate limits and [configure CAPTCHA](/docs/guides/auth/auth-captcha) to control the bill. Read more about this in the [Production Checklist](/docs/guides/platform/going-into-prod).
+
+</Admonition>
+
In this guide we'll show you how to authenticate your users with SMS based One-Time Password (OTP) tokens.
There are two reasons to use Supabase SMS OTP tokens:
diff --git a/apps/docs/pages/guides/auth/phone-login/vonage.mdx b/apps/docs/pages/guides/auth/phone-login/vonage.mdx
index addaed8d57e..60edc1b9323 100644
--- a/apps/docs/pages/guides/auth/phone-login/vonage.mdx
+++ b/apps/docs/pages/guides/auth/phone-login/vonage.mdx
@@ -6,6 +6,12 @@ export const meta = {
description: 'How to set up and use Mobile OTP with Vonage and Supabase.',
}
+<Admonition type="tip">
+
+Authenticating users via SMS can become expensive. Adjust your project's rate limits and [configure CAPTCHA](/docs/guides/auth/auth-captcha) to control the bill. Read more about this in the [Production Checklist](/docs/guides/platform/going-into-prod).
+
+</Admonition>
+
## Overview
In this guide we'll show you how to authenticate your users with SMS based OTP (One-Time Password) tokens.