Captain-P-Goldfish / scim-for-keycloak

a third party module that extends keycloak by SCIM functionality
BSD 3-Clause "New" or "Revised" License
182 stars 46 forks source link

ResourceTypes and Realm Assignment Tabs are empty - Remote SCIM Provider Configuration #109

Closed saravanad closed 1 month ago

saravanad commented 2 months ago

Hi @Captain-P-Goldfish ,

We have a Local Keycloak running and We have the SCIM-SDK Spring Boot Samples that were available from your repository as well running. We are working on the Usecase of Pushing the User/Group from Keycloak to Spring boot.

We have done the Remote SCIM Provider Configuration in the Keycloak. After saving the Configuration and clicking on the Load Provider Configuration, We got all the tabs. However the Resource Types Tab and Realm Assignment Tabs are empty.

image

image

The Schema tab is coming up with the data. image

Any pointers on how to get the data in the Resource Types Tab and Realm Assignment Tabs, so that we can complete the Sync Configuration.

Thanks in advance for your support.

Thanks, Saravana

Captain-P-Goldfish commented 2 months ago

Hi this is a known problem. Currently only fixed in version "kc-23-2.0.1-SNAPSHOT". Could you try this version if it works for you?

saravanad commented 2 months ago

Thanks @Captain-P-Goldfish for the clarification. Can you let me know where to get this snapshot version of Keycloak? In the releases section, i only find 23.0.X and not 23.2

Captain-P-Goldfish commented 2 months ago

kc-23-2 0 1-SNAPSHOT

Captain-P-Goldfish commented 2 months ago

I have temporarily removed the SNAPSHOT version due to a serious bug. I will fix this bug and add the artifact again.

Captain-P-Goldfish commented 2 months ago

okay, fixed the bug and and added the SNAPSHOT release again, now under version "kc-23-2.1.0-SNAPSHOT"

saravanad commented 2 months ago

Thanks @Captain-P-Goldfish with the new jar, we are able to view the Resource Type Tab with the Data. However the Realm Assignment Tab is still showing empty. Any other configuration that we could be missing?

Captain-P-Goldfish commented 2 months ago

Hi this should be an authorization issue. I would expect that the user you are using also does not see any realms in the "Realm Management" configuration, correct? This is because a user can assign a SCIM client configuration only to a realm to which the user has SCIM configuration access. In other words: if the user has no scim-admin-role to a specific realm the user will not be able to assign the configuration to a specific realm.

saravanad commented 2 months ago

Thanks @Captain-P-Goldfish IT is working. After setting the roles properly, we are able to view the tabs.

saravanad commented 1 month ago

Thanks for the support