incalculable-petabyte-84501
01/23/2025, 11:52 AMbrief-egg-61061
01/23/2025, 11:52 AMbrief-egg-61061
01/23/2025, 11:52 AMrequire_verified_address
action to the login flow, which will check if the user's email address has been verified before allowing them to sign in. [Ory Docs: Require verified address](https://www.ory.sh/docs/actions/require-verified-address) By combining these settings, you can ensure that users cannot complete the OAuth2 flow without verifying their email address first. However, it's important to note that if you enable "Sign In After Registration" along with requiring email verification, users might be temporarily logged in after registration but unable to perform further actions until they verify their email. For the most secure setup, you may want to disable "Sign In After Registration" if you're requiring email verification for login: [Github Issue: Sign In After Registration should be disabled if Require Verified Address for Login is selected](https://github.com/ory/network/issues/107) Remember to test your configuration thoroughly to ensure it behaves as expected in your specific OAuth2 flow.