diff --git a/apps/docs/pages/guides/auth/passwordless-login.mdx b/apps/docs/pages/guides/auth/passwordless-login.mdx deleted file mode 100644 index 86aa4897a3f..00000000000 --- a/apps/docs/pages/guides/auth/passwordless-login.mdx +++ /dev/null @@ -1,74 +0,0 @@ -import Layout from '~/layouts/DefaultGuideLayout' -import { IconPanel, GlassPanel, IconMail } from 'ui' -import Link from 'next/link' -import { PhoneLoginsItems } from '~/components/Navigation/NavigationMenu/NavigationMenu.constants' - -export const meta = { - title: 'Passwordless Login', - description: - 'Learn about logging in with email one-time passwords (magic links) and SMS one-time passwords.', -} - -Passwordless 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 may be asked to provide some other form of authentication, such as a one-time code sent via email or SMS, or by using a biometric factor like their fingerprint or facial recognition. - -## Benefits - -There are several benefits of implementing passwordless login in your applications: - -1. **Improved user experience**: By eliminating the need for users to remember and enter complex passwords, passwordless login can make it easier and more convenient for users to log in to your application. This can improve the overall user experience and make it more enjoyable for users to interact with your application. - -2. **Increased security**: Passwordless login can improve the security of your application by reducing the risk of password-related security breaches, such as password reuse and weak passwords. By using alternative forms of authentication, such as one-time codes or biometric factors, you can make it more difficult for unauthorized users to access your application. - -3. **Reduced support burden**: Passwordless login can also help reduce the support burden for your team by eliminating the need to reset forgotten passwords or deal with other password-related issues. This can free up your team to focus on other important tasks and improve the efficiency of your operation. - -## Set up Passwordless Login with Supabase Auth - -Supabase supports passwordless logins through "magic links" (instead of entering a password, the user is sent -a link which they can click to log in to their account) and one-time passwords via SMS through several communications platforms. Follow the guides below to set up a passwordless login flow with Supabase Auth. - -### Email One-Time Password (OTP) - -
- -
- -
- - - - - - }> - - Implement Magic Link Login in your application - - - - - -
- -### Phone SMS One-Time Password (OTP) - -
- {PhoneLoginsItems.map((item) => ( - - - - {item.linkDescription} - - - -))} - -
- -export const Page = ({ children }) => - -export default Page diff --git a/apps/docs/pages/guides/auth/phone-login.mdx b/apps/docs/pages/guides/auth/phone-login.mdx new file mode 100644 index 00000000000..07d116a734e --- /dev/null +++ b/apps/docs/pages/guides/auth/phone-login.mdx @@ -0,0 +1,48 @@ +import Layout from '~/layouts/DefaultGuideLayout' +import { IconPanel, GlassPanel, IconMail } from 'ui' +import Link from 'next/link' +import { PhoneLoginsItems } from '~/components/Navigation/NavigationMenu/NavigationMenu.constants' + +export const meta = { + title: 'Phone Login', + description: + 'Learn about logging in with SMS one-time passwords.', +} + +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 + +There are several benefits of implementing phone login in your applications: + +1. **Improved user experience**: By eliminating the need for users to remember and enter complex passwords, phone login can make it easier and more convenient for users to log in to your application. This can improve the overall user experience and make it more enjoyable for users to interact with your application. + +2. **Increased security**: Phone login can improve the security of your application by reducing the risk of password-related security breaches, such as password reuse and weak passwords. By using alternative forms of authentication, such as one-time codes or biometric factors, you can make it more difficult for unauthorized users to access your application. + +3. **Reduced support burden**: Phone login can also help reduce the support burden for your team by eliminating the need to handle password recovery flows or deal with other password-related issues. This can free up your team to focus on other important tasks and improve the efficiency of your operation. + +## Set up Phone Login with Supabase Auth + +Supabase supports Phone Login with several communications platforms. Follow the guides below to set up a Phone Login flow with Supabase Auth. + +
+ {PhoneLoginsItems.map((item) => ( + + + + {item.linkDescription} + + + +))} + +
+ +export const Page = ({ children }) => + +export default Page diff --git a/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-messagebird.mdx b/apps/docs/pages/guides/auth/phone-login/phone-sms-otp-messagebird.mdx similarity index 100% rename from apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-messagebird.mdx rename to apps/docs/pages/guides/auth/phone-login/phone-sms-otp-messagebird.mdx diff --git a/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-twilio.mdx b/apps/docs/pages/guides/auth/phone-login/phone-sms-otp-twilio.mdx similarity index 100% rename from apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-twilio.mdx rename to apps/docs/pages/guides/auth/phone-login/phone-sms-otp-twilio.mdx diff --git a/apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-vonage.mdx b/apps/docs/pages/guides/auth/phone-login/phone-sms-otp-vonage.mdx similarity index 100% rename from apps/docs/pages/guides/auth/passwordless-login/phone-sms-otp-vonage.mdx rename to apps/docs/pages/guides/auth/phone-login/phone-sms-otp-vonage.mdx