Skip to content

Commit

Permalink
fix(jans-linux-setup): improper scim configuration for kc #8210 (#8224)
Browse files Browse the repository at this point in the history
* fix(jans-linux-setup): improper scim configuration for jans kc #8210
* updated the keycloak configuration file to reflect the  configuration for the storage-spi

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(jans-linux-setup): improper scim configuration for kc #8210
* added user provider provisioning json  for the jans realm

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

---------

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
Co-authored-by: Devrim <devrimyatar@gluu.org>
  • Loading branch information
uprightech and devrimyatar committed Apr 8, 2024
1 parent 4b4da3b commit 6965cd0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name":"jans-user-federation",
"providerId": "kc-jans-storage",
"providerType": "org.keycloak.storage.UserStorageProvider",
"parentId": "${jans_idp_realm_id}",
"config": {
"cachePolicy": ["DEFAULT"],
"enabled": ["true"]
}
}
19 changes: 10 additions & 9 deletions jans-linux-setup/jans_setup/templates/jans-saml/keycloak.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,23 @@

# Janssen configuration parameters

# Storage spi configuration
# Storage SPI Configuration (SCIM)

# token endpoint
#jans-storage-auth-token-endpoint=
# janssen-auth token endpoint
spi-storage-kc-jans-storage-auth-token-endpoint=

# scim user endpoint
#jans-storage-scim-user-endpoint
# janssen scim user fetch endpoint
# usually of the format https://<server>/jans-scim/restv1/v2/Users
spi-storage-kc-jans-storage-scim-user-endpoint=

# scim user search endpoint
#jans-storage-scim-user-search-endpoint
spi-storage-kc-jans-storage-scim-user-search-endpoint=

# scim oauth scopes
#jans-storage-scim-oauth-scope
spi-storage-kc-jans-storage-scim-oauth-scopes=https://jans.io/scim/users.read https://jans.io/scim/users.write

#scim client id
#jans-storage-client-id
spi-storage-kc-jans-storage-scim-client-id=

#scim client secret
#jans-storage-client-secret
spi-storage-kc-jans-storage-scim-client-secret=

0 comments on commit 6965cd0

Please sign in to comment.