Skip to content

Commit 959910f

Browse files
author
Ahmed Hamouda
committed
docs(auth): add platform filters for passwordless authentication section
1 parent 49e6da5 commit 959910f

File tree

1 file changed

+7
-1
lines changed
  • src/pages/[platform]/build-a-backend/auth/set-up-auth

1 file changed

+7
-1
lines changed

src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,19 @@ By default, your auth resource is scaffolded using `email` as the default login
5151

5252
- Phone numbers
5353
- External providers (Google, Facebook, Amazon, or Sign in with Apple)
54+
<InlineFilter filters={['android', 'angular', 'javascript', 'nextjs', 'react', 'react-native', 'swift', 'vue']}>
5455
- [Passwordless authentication](/[platform]/build-a-backend/auth/concepts/passwordless/) (Email OTP, SMS OTP, or WebAuthn passkeys)
56+
</InlineFilter>
5557

5658
<Callout info>
5759

5860
**Note:** At a minimum you will need to pass a `loginWith` value to set up how your users sign in to your app. Signing in with email and password is configured by default if you do not provide any value.
5961

6062
</Callout>
6163

62-
## Enable passwordless authentication
64+
<InlineFilter filters={['android', 'angular', 'javascript', 'nextjs', 'react', 'react-native', 'swift', 'vue']}>
65+
66+
### Enable passwordless authentication
6367

6468
You can enable passwordless authentication methods to provide a more secure and user-friendly experience:
6569

@@ -77,6 +81,8 @@ export const auth = defineAuth({
7781

7882
[Learn more about passwordless authentication options](/[platform]/build-a-backend/auth/concepts/passwordless/).
7983

84+
</InlineFilter>
85+
8086
## Deploy auth resource
8187

8288
After you have chosen and defined your authentication resource, run the following command to create your resource in your personal cloud sandbox.

0 commit comments

Comments
 (0)