# Prevent Automatic login After Email Verification

**URL:** https://forum.keycloak.org/t/prevent-automatic-login-after-email-verification/9437
**Category:** Configuring the server
**Created:** [June 5, 2021, 6:38am UTC](https://forum.keycloak.org/t/prevent-automatic-login-after-email-verification/9437 "2021-06-05T06:38:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Asperitas](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@Asperitas](https://forum.keycloak.org/u/Asperitas)
#### Post date: [June 5, 2021, 6:38am UTC](https://forum.keycloak.org/t/prevent-automatic-login-after-email-verification/9437/1 "2021-06-05T06:38:11Z")

</div>

Hii,

After email verified the provided link directly login the user but instead of i want to redirect link to login page

is there any way i can do this. please provide proper documentation.

Thanking you

---

<div class="post-metadata">

### Author: ![Anubhav](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/anubhav/32/3243_2.png) [@Anubhav](https://forum.keycloak.org/u/Anubhav)
#### Post date: [June 6, 2021, 7:55am UTC](https://forum.keycloak.org/t/prevent-automatic-login-after-email-verification/9437/2 "2021-06-06T07:55:37Z")

</div>

with the default authentication flow of keycloak it’s not possible. You may have to create/customise your own flow to achieve this. In default flow ,the user will have to open the verification link in a different browser or incognito of same browser in order to be redirected to the Login page. check this link for ideas [Login post email verification](https://stackoverflow.com/questions/45382981/keycloak-automatic-login-after-email-confirmation-with-disabled-user)

---

<div class="post-metadata">

### Author: ![Asperitas](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@Asperitas](https://forum.keycloak.org/u/Asperitas)
#### Post date: [June 7, 2021, 5:03am UTC](https://forum.keycloak.org/t/prevent-automatic-login-after-email-verification/9437/3 "2021-06-07T05:03:35Z")

</div>

we are facing an issue after accepting terms and conditions the user directly login instead of  
after terms and condition accept we want to user to login again i.e. after clicking on i accept we want to navigate to login page.  
is it possible to achieve via theme.
