@@ -5,30 +5,16 @@ sidebar_label: Two-step registration
5
5
slug : two-step-registration
6
6
---
7
7
8
- With a one-step registration, when you enable multiple authentication strategies (for example password, code via email, and
9
- passkey), the identity traits will be repeated for each authentication strategy .
8
+ [ Identity traits ] ( ../../kratos/manage-identities/managing-users-identities-metadata#traits ) are data associated with an identity
9
+ that can be modified by the user. The traits are configured through the identity schema .
10
10
11
- Compare this to a two-step registration: Now, the user is prompted for the identity traits in the first step, and asked to choose
12
- a credential method for authentication next. This results in a more stream-lined user experience.
11
+ With a one-step registration - also called _ unified registration_ - the identity traits will be repeated for each authentication
12
+ strategy. For example the identity traits will be repeated for the password, the code via email, and the passkey method. For this
13
+ reason unified registration is recommended for use cases where you have only one or two authentication methods enabled.
13
14
14
- :::info
15
+ With a two-step registration - also called _ profile-first registration_ - the user is prompted for the identity traits in the
16
+ first step, and asked to choose a credential method for authentication next. This results in a more stream-lined user experience
17
+ when you have more than two authentication methods enabled.
15
18
16
- Identity traits are data associated with an identity that can be modified by the user. The traits are configured through the
17
- identity schema.
18
-
19
- [ Learn more about identity traits] ( ../../kratos/manage-identities/managing-users-identities-metadata#traits )
20
-
21
- :::
22
-
23
- ![ Registration with two-step registration vs one-step registration] ( ./_static/two-step-registration.png )
24
-
25
- To disable the legacy one-step registration, Go to <ConsoleLink route = " project.authentication" /> and switch off ** Enable legacy
26
- one-step registration** or use the Ory CLI:
27
-
28
- ``` bash
29
- ory list workspaces # to get the workspace id
30
- ory list projects --workspace < workspace-id> # to get the project id
31
-
32
- ory patch project --project < project-id> --workspace < workspace-id> \
33
- --replace ' /services/identity/config/selfservice/flows/registration/enable_legacy_one_step=false'
34
- ```
19
+ To disable the one-step unified registration, Go to <ConsoleLink route = " project.settings.advanced.route" /> and disable ** Enable
20
+ unified sign up** .
0 commit comments