abundant-baker-49319
12/12/2024, 8:16 AMbrief-egg-61061
12/12/2024, 8:16 AMbrief-egg-61061
12/12/2024, 8:16 AMsession
action. As stated in the documentation: "If the option to verify the email address before allowing users to sign in is enabled, the session
action can be used one time to bypass this requirement." [Sign in after registration](https://www.ory.sh/docs/actions/session) 3. It's important to note that this one-time sign-in is specifically for the registration process. The documentation clarifies: "For example, after the user successfully registers, you can use the session
action to sign them in immediately, bypassing the requirement to verify their email address first. This allows the user to start using the application right away, without having to wait for account verification. The user still has to verify their account before they sign in the next time after they registered." [Sign in after registration](https://www.ory.sh/docs/actions/session) 4. For subsequent sign-ins after the initial registration, the verification requirement will be enforced if you have it enabled. 5. If you want to show the verification screen after successful registration, you can configure this behavior using the show_verification_ui
hook [Show verification after successful registration](https://www.ory.sh/docs/identities/sign-in/actions#show-verification-after-successful-registration). In conclusion, while there isn't a built-in way to automatically sign in a user immediately after they verify their email address (outside of the registration process), you can allow a one-time sign-in immediately after registration using the session
action. For all subsequent sign-ins, the email verification requirement will be enforced if you have it enabled.