<@U04UQ68083H> is there no way to sign-in a custom...
# ory-copilot
a
@chilly-king-10285 is there no way to sign-in a customer after they verify their email address. I have requires verification before sign-in
b
A message from kapa.ai
Based on the information provided in the knowledge sources, there are a few important points to consider regarding your question about signing in a customer after they verify their email address when you have required verification before sign-in: 1. By default, when you enable the "Require Verified Address for Login" setting, users will need to verify their email address before they can sign in [Require verified address](https://www.ory.sh/docs/actions/require-verified-address). 2. However, there is a way to allow a one-time sign-in immediately after registration, even if email verification is required. This is done using the
session
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.