# Login is not working for federated user aftering reseting the password in Keycloak (20.0.1)

**URL:** <https://forum.keycloak.org/t/login-is-not-working-for-federated-user-aftering-reseting-the-password-in-keycloak-20-0-1/19168>\
**Category:** Securing applications\
**Tags:** authentication, user-federation\
**Created:** [December 16, 2022, 6:00am UTC](https://forum.keycloak.org/t/login-is-not-working-for-federated-user-aftering-reseting-the-password-in-keycloak-20-0-1/19168 "2022-12-16T06:00:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![prsanjay](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/prsanjay/32/7435_2.png) [@prsanjay](https://forum.keycloak.org/u/prsanjay)\
**Post date:** [December 16, 2022, 6:00am UTC](https://forum.keycloak.org/t/login-is-not-working-for-federated-user-aftering-reseting-the-password-in-keycloak-20-0-1/19168/1 "2022-12-16T06:00:15Z")

</div>

Hi Everyone,

I have created Custom User Storage Provider to Bridge my legacy application and Keycloak. I have users in my legacy DB with passwords. They are able to log in using keycloak. Now, I have updated the password in Keycloak for the federated user as we are moving the whole IAM to Keycloak. After updating the password in Keycloak, I am not able to log in.

Can anybody help with what approach needs to be taken in this situation?

---

<div class="post-metadata">

**Author:** ![zak](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/zak/32/315_2.png) [@zak](https://forum.keycloak.org/u/zak)\
**Post date:** [December 18, 2022, 4:32pm UTC](https://forum.keycloak.org/t/login-is-not-working-for-federated-user-aftering-reseting-the-password-in-keycloak-20-0-1/19168/2 "2022-12-18T16:32:29Z")

</div>

which interfaces is your custom storage provider implementing ?

---

<div class="post-metadata">

**Author:** ![prsanjay](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/prsanjay/32/7435_2.png) [@prsanjay](https://forum.keycloak.org/u/prsanjay)\
**Post date:** [December 19, 2022, 4:34am UTC](https://forum.keycloak.org/t/login-is-not-working-for-federated-user-aftering-reseting-the-password-in-keycloak-20-0-1/19168/3 "2022-12-19T04:34:23Z")

</div>

Hi Zak, These ones `UserStorageProvider`, `UserLookupProvider`, `CredentialInputValidator`,`UserQueryProvider`

---

<div class="post-metadata">

**Author:** ![zak](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/zak/32/315_2.png) [@zak](https://forum.keycloak.org/u/zak)\
**Post date:** [December 19, 2022, 9:38am UTC](https://forum.keycloak.org/t/login-is-not-working-for-federated-user-aftering-reseting-the-password-in-keycloak-20-0-1/19168/4 "2022-12-19T09:38:28Z")

</div>

To be able to update the password, I think you need to implement this one as well `CredentialInputUpdater`

---

<div class="post-metadata">

**Author:** ![prsanjay](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/prsanjay/32/7435_2.png) [@prsanjay](https://forum.keycloak.org/u/prsanjay)\
**Post date:** [January 2, 2023, 10:34am UTC](https://forum.keycloak.org/t/login-is-not-working-for-federated-user-aftering-reseting-the-password-in-keycloak-20-0-1/19168/5 "2023-01-02T10:34:17Z")

</div>

> [@zak](#):
>
> CredentialInputUpdater

This is correct. I did the same. Many Thanks!
