Skip to content

Commit

Permalink
chore: add docs for code MFA (#2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas authored Feb 14, 2025
1 parent c855b6b commit 2be47db
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/kratos/emails-sms/05_custom-email-templates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ automatically uses the built-in template.

:::info

The recovery & verification templates only show the versions for the method (**One time code** or **link**) you have selected in
The recovery & verification templates only show the versions for the method (**one-time code** or **link**) you have selected in
the flow configuration.

- <ConsoleLink route="project.recovery" />
Expand Down
11 changes: 10 additions & 1 deletion docs/kratos/mfa/30_sms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import TabItem from '@theme/TabItem';
import BrowserWindow from "@site/src/theme/BrowserWindow"
```

SMS and email can be used to deliver one time codes to users. Ory will deliver a 6-digit code to an SMS / email gateway of your
SMS and email can be used to deliver one-time codes to users. Ory will deliver a 6-digit code to an SMS / email gateway of your
choice, such as Twilio, Amazon SNS, SMTP, or your own application. These codes are valid for a short amount of time, usually 15
minutes or less. Once the user completes the challenge, by entering the code, the AAL of the session is upgraded to AAL2.

Expand All @@ -30,6 +30,15 @@ To enable MFA via SMS, you need to configure an SMS channel in the Ory configura

```mdx-code-block
<Tabs groupId="console-or-cli">
<TabItem value="console" label="Ory Console" default>
```

1. Go to <ConsoleLink route="project.mfa" />.
2. Toggle **Enable one-time code multi factor authentication**.
3. Click **Save**.

```mdx-code-block
</TabItem>
<TabItem value="cli" label="Ory CLI" default>
```

Expand Down

0 comments on commit 2be47db

Please sign in to comment.