Giter Club home page Giter Club logo

Comments (7)

Captain-P-Goldfish avatar Captain-P-Goldfish commented on July 16, 2024 2

I added a new configuration option that allows to toggle between the two implementations. The explanation can be seen on the screenshot. So if I provide the next release you need to explicitly toggle this feature on.

screen

from scim-for-keycloak.

jekahn avatar jekahn commented on July 16, 2024 1

Tested the Updated Jar!

It works perfect! Thanks so much!

{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User" ], "id": "39c8ae29-c1a2-4985-b2b5-80546b39fcce", "userName": "ceadmin", "active": true, "emails": [ { "value": "ceadmin@sample", "primary": true } ], "name": { "familyName": "CEAdmin" }, "groups": [ { "value": "9be1b07e-db39-4d8e-92cc-fc6bb3b6a7bc", "display": "AllSharedUsers", "type": "direct" }, { "value": "114d862d-4bcb-43db-82ac-5ecc243eeb30", "display": "P8Admins", "type": "direct" }, { "value": "907bbdd1-7f3c-418b-82ab-c6e301c7ba6a", "display": "OSAdminGroup", "type": "direct" }, { "value": "0c12e429-aad9-40d9-955b-3604626082a8", "display": "CEAdminGroup", "type": "direct" } ],

from scim-for-keycloak.

Captain-P-Goldfish avatar Captain-P-Goldfish commented on July 16, 2024

Ah I see. This is no configuration problem but might hopefully be solved with a configuration.
the SCIM for Keycloak plugin is looking directly on the database for user-group-relationships forgetting that there might be a user-federation between. This was done due to some testcases with poor performance. Unfortunately I didn't think twice that I would exclude federations in this way. If I look into the keycloaks ldap configuration it seems that only users can be synced with the keycloak-database. Or is it possible to also synchronize the groups?

If groups cannot be synced I will need to add an additional solution for this problem. But this might effect performance to a certain degree based on how much the SCIM endpoints are used and how many users are assigned to a group.

from scim-for-keycloak.

jekahn avatar jekahn commented on July 16, 2024

Hi 👋 @Captain-P-Goldfish ! Appreciate the feedback!

I was able to sync both -- and I can see the membership in the KeyCloak Admin Console.

I can see the relationship between User and Groups on both:
image

image

Im not sure if there is something different to make sure they groups are synced.

I tried messing around with the mode on the group-mapper -- and I assume they would be synced to the DB.

image

from scim-for-keycloak.

Captain-P-Goldfish avatar Captain-P-Goldfish commented on July 16, 2024

Okay, I was able to find the source of the problem.
When the groups are synchronized from LDAP to keycloak the group-relations are not. They are accessed from the LDAP directly and cached afterwards to have a better and faster access to these mappings.
I can fix this issue. I should have it ready until the start of next week.

from scim-for-keycloak.

jekahn avatar jekahn commented on July 16, 2024

You are the best! Thanks so much!
Saves me from recreating all the users!

from scim-for-keycloak.

jekahn avatar jekahn commented on July 16, 2024

Thank you so much! Appreciate the speedy work!

I will look out for the updated jar!

from scim-for-keycloak.

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.