You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/authenticate/authentication-methods/phone-authentication.mdx
+34-40Lines changed: 34 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,26 @@ relatedArticles:
8
8
- 90f45d2e-cf59-4b5e-a26b-6dafd772e893
9
9
---
10
10
11
-
You can allow users to use their phone number as their primary identity for authentication. This is a passwordless method, where the user is sent a code via an SMS to verify them on sign in.
11
+
You can allow users to use their phone as a primary method for authentication. This is a passwordless method, where the user is sent a verification code via SMS. SMS can also be included as a secondary factor if you have [multi-factor authentication](/authenticate/multi-factor-auth/about-multi-factor-authentication/) set up.
12
12
13
13
<Aside>
14
14
15
15
This feature requires paid third-party services to use. Rates and limitations apply.
16
16
17
17
</Aside>
18
18
19
+
## (Existing phone auth Twilio users only) Switch on SMS for MFA
20
+
21
+
1. In Kinde, go to **Settings > Environment > SMS**.
22
+
2. Scroll to the bottom and switch on the **Use this service for SMS MFA** option.
23
+
3. Select **Save**.
24
+
25
+
## Benefits of using a third-party SMS service instead of Kinde
26
+
27
+
- Gives you full control over the SMS delivery nuances, such as SenderID, country registrations, and detailed delivery metrics.
28
+
- You can register dedicated short codes or sender IDs in countries that have strict SMS sending regulations like Ireland, NZ and Canada, which will greatly improve deliverability.
29
+
- Access to delivery logs and other service quality details for troubleshooting.
30
+
19
31
## SMS provider requirements (Twilio)
20
32
21
33
SMS authentication requires the services of a messaging provider, in this case, [Twilio](https://www.twilio.com/en-us).
@@ -40,73 +52,55 @@ You’ll need the following details that are in the dashboard of your [Twilio ac
40
52
- The Auth Token for your Twilio account
41
53
- Your Twilio phone number or the Messaging Service SID (if you set one up)
Refer to the [Twilio documentation](https://www.twilio.com/docs/messaging/services/tutorials/send-messages-with-messaging-services) for assistance setting up.
54
58
55
59
## Configure phone SMS auth in Kinde
56
60
57
61
After you set this up, you can use SMS for both phone authentication and SMS MFA.
58
62
59
-
1. In Kinde, go to **Authentication**.
60
-
2. In the **Passwordless** section, select **Configure** on the **Phone** tile.
61
-
3. Select the **Default country** that you want to show on the authentication screen when users sign in.
62
-
4. Enter the Twilio details from your Twilio account (see above) in the relevant fields.
63
+
1. In Kinde, go to **Settings > Environment > SMS**.
64
+
2. Select the **Default country** that you want to show on the authentication screen when users sign in.
65
+
3. Enter the Twilio details from your Twilio account (see above) in the relevant fields.
5. In the **SMS source** field, select either the **Use****Messaging service** or **Use phone number**. Verification codes will be sent from whichever you choose.
4. In the **SMS source** field, select either the **Use****Messaging service** or **Use phone number**. Verification codes will be sent from whichever you choose.
75
70
76
71
<Aside>
77
72
78
73
Note that the Twilio messaging service is more suitable for global applications as it detects where the sign in comes from and sends from an appropriate number.
79
74
80
75
</Aside>
81
76
82
-
6. Depending on your selection in the previous step, enter either the **Messaging service SID** or Twilio **Phone number** in the relevant field.
77
+
5. Depending on your selection in the previous step, enter either the **Messaging service SID** or Twilio **Phone number** in the relevant field.
0 commit comments