File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ sidebar_label: Identifier first authentication
7
7
Identifier first authentication first requests the user's identifier such as an email or username before prompting for a password
8
8
or other authentication methods.
9
9
10
+ :::note
11
+
12
+ Identifier first authentication is required when using B2B Organization login.
13
+
14
+ :::
15
+
10
16
This guide explains how to enable and use identifier first authentication in Ory Network and self-hosted Ory Kratos.
11
17
12
18
## Ory Network
@@ -35,3 +41,23 @@ selfservice:
35
41
` ` `
36
42
37
43
To disable this feature, set ` style` to `unified`.
44
+
45
+ # # Account enumeration mitigation
46
+
47
+ Account enumeration mitigation prevents malicious actors from being able to identify if a user exists or not.
48
+
49
+ By default, Ory does not prevent account enumeration in the identifier first authentication flow. This improves user experience as
50
+ the user quickly knows if they have an account with the chosen identifier (email / username) or not. To enable account
51
+ enumeration, use the Ory CLI patch command
52
+
53
+ ` ` ` shell
54
+ ory patch identity-config --project <project-id> --add '/security/account_enumeration/mitigate=true'
55
+ ` ` `
56
+
57
+ or if you use a config file, add the following to your `kratos.yaml` config file :
58
+
59
+ ` ` ` yaml title="kratos-config.yaml"
60
+ security:
61
+ account_enumeration:
62
+ mitigate: true
63
+ ` ` `
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ graph LR
56
56
/>
57
57
```
58
58
59
+ Organizations require identifier-first authentication and two-step registration when using Account Experience 2.x or Ory Elements
60
+ 1.x.
61
+
59
62
## Manage organizations
60
63
61
64
``` mdx-code-block
You can’t perform that action at this time.
0 commit comments