Giter Site home page Giter Site logo

User data migrated although password validation endpoint (POST) returns response with status NOT 200 about keycloak-user-migration HOT 3 CLOSED

daniel-frak avatar daniel-frak commented on September 10, 2024
User data migrated although password validation endpoint (POST) returns response with status NOT 200

from keycloak-user-migration.

Comments (3)

daniel-frak avatar daniel-frak commented on September 10, 2024

Indeed, both LegacyProvider::getUserByUsername and LegacyProvider::getUserByEmail call UserModelFactory::create, which then creates the user in Keycloak and sets up a federation link to the legacy system - that way only the credentials will get verified against the legacy system in the future, with no need to make the GET call (for user details) again .

Once the user logs in successfully, LegacyProvider::updateCredential gets called, severing the link to the legacy system entirely.

Is there anything in the plugin's behavior that's preventing your migration from going smoothly?

EDIT: I have updated the README.md example to better describe what is happening behind the scenes when a user logs in.

from keycloak-user-migration.

swc-kdzekov avatar swc-kdzekov commented on September 10, 2024

Hi @daniel-frak . Yes, this confirms what I assumed. With updated description it is even more clear.

[Is there anything in the plugin's behavior that's preventing your migration from going smoothly?]

No, It works quite nicely actually. We tested it with hard-coded data up to now (which is enough).
Thanks.

from keycloak-user-migration.

daniel-frak avatar daniel-frak commented on September 10, 2024

Glad to have helped! :)

from keycloak-user-migration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.