File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
kratos/self-service/flows Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -211,9 +211,9 @@ Using the [Ory CLI](../../guides/cli/01_installation.mdx):
211
211
212
212
``` shell
213
213
ory patch identity-config {project_id} \
214
- --add ' /selfservice/flows/registration /after/password/hooks=[{"hook": "verification"}]' \
215
- --add ' /selfservice/flows/registration /after/oidc/hooks=[{"hook": "verification"}]' \
216
- --add ' /selfservice/flows/registration /after/webauthn/hooks=[{"hook": "verification"}]'
214
+ --add ' /selfservice/flows/login /after/password/hooks=[{"hook": "verification"}]' \
215
+ --add ' /selfservice/flows/login /after/oidc/hooks=[{"hook": "verification"}]' \
216
+ --add ' /selfservice/flows/login /after/webauthn/hooks=[{"hook": "verification"}]'
217
217
```
218
218
219
219
To automatically show the verification screen in server rendered browser flows, add the ` show_verification_ui ` hook as well:
@@ -227,9 +227,9 @@ Using the [Ory CLI](../../guides/cli/01_installation.mdx):
227
227
228
228
``` shell
229
229
ory patch identity-config {project_id} \
230
- --add ' /selfservice/flows/registration /after/password/hooks=[{"hook": "show_verification_ui"}]' \
231
- --add ' /selfservice/flows/registration /after/oidc/hooks=[{"hook": "show_verification_ui"}]' \
232
- --add ' /selfservice/flows/registration /after/webauthn/hooks=[{"hook": "show_verification_ui"}]'
230
+ --add ' /selfservice/flows/login /after/password/hooks=[{"hook": "show_verification_ui"}]' \
231
+ --add ' /selfservice/flows/login /after/oidc/hooks=[{"hook": "show_verification_ui"}]' \
232
+ --add ' /selfservice/flows/login /after/webauthn/hooks=[{"hook": "show_verification_ui"}]'
233
233
```
234
234
235
235
:::note
Original file line number Diff line number Diff line change @@ -427,13 +427,16 @@ import CodeLinkComparison from "./_common/code-link-comparison.mdx"
427
427
<CodeLinkComparison />
428
428
```
429
429
430
- ## Showing the verification flow after settings or registration
430
+ ## Showing the verification flow after settings, registration or login
431
431
432
432
To show the verification flow directly after the user has registered, see the
433
433
[ registration documentation] ( ../../../identities/sign-in/actions.mdx#show-verification-after-successful-registration ) .
434
434
435
435
For settings, see the [ settings documentation] ( ./user-settings.mdx#show-verification-after-updating-a-verifiable-address ) .
436
436
437
+ And for login, see the
438
+ [ login customization documentation] ( ../../../identities/sign-in/actions.mdx#show-verification-after-login-if-address-is-not-verified-yet ) .
439
+
437
440
## Code examples
438
441
439
442
The user interface for account verification is a page in your solution that renders the actual form elements for the user.
You can’t perform that action at this time.
0 commit comments