[keycloak-user] Logout after password change

Stian Thorgersen sthorger at redhat.com
Mon Aug 26 05:11:28 EDT 2019


We log out all sessions except the active session where the password reset
was done. There is no way to logout the active session, not should there be
as it doesn't make any sense to do so.

On Mon, 26 Aug 2019, 11:05 Himalaya Gupta, <himalaya18 at gmail.com> wrote:

> Hi,
>
> Can you please let me know if there is a setting to make the user logout of
> the session post password change, so that the user is forced to re-login
> using the new password? Thanks
>
> Scenario:
> 1. Login to Keycloak
> 2. Click on Account info. It redirects to "
> https://localhost:8080/auth/realms/testrealm/account/password
> <https://localhost:8100/auth/realms/deepikanew/account/password>"
> 3. On the password tab, change the password and click save
> 4. "Your password has been updated" message appears
> 5. The user is still on the same page
>
> We would require a logout to happen post successful password change.
>
>
> --
> Best regards,
> Himalaya Gupta
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>


More information about the keycloak-user mailing list