Skip to content

A pluggable IdP mapper for keycloak. To be used in eosc installations

License

Notifications You must be signed in to change notification settings

cgeorgilakis/keycloak-idp-hashedId-mapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keycloak-idp-hashedId-mapper

A pluggable IdP mapper for keycloak. To be used in eosc installations

Installation instructions (versions >= 1.2.0):

  1. Compile the plugin jar i.e. 'mvn clean install' or just get a built one from the "Releases" link on the right sidebar.
  2. Drop the jar into the folder $KEYCLOAK_BASE/standalone/deployments/ and let all the hot-deploy magic commence.

Installation instructions (versions < 1.2.0):

  1. Compile the plugin jar i.e. 'mvn clean install' or just get a built one from the "Releases" link on the right sidebar.

  2. Create the following folders: $KEYCLOAK_BASE/modules/system/layers/keycloak/org/keycloak/keycloak-idp-hashedId-mapper $KEYCLOAK_BASE/modules/system/layers/keycloak/org/keycloak/keycloak-idp-hashedId-mapper/main

and add into the folder "main"

  • the built jar keycloak-idp-hashedId-mapper/target/keycloak-idp-hashedId-mapper.jar
  • the keycloak-idp-hashedId-mapper/module.xml from the source (this one) base folder

so you should end up with the following structure in $KEYCLOAK_BASE/modules/system/layers/keycloak/org/keycloak/keycloak-idp-hashedId-mapper

keycloak-idp-hashedId-mapper
└── main
    ├── keycloak-idp-hashedId-mapper.jar
    └── module.xml

Following the above, we should also let wildfly server and keycloak to load this module as well. So, open file $KEYCLOAK_BASE/standalone/configuration/standalone.xml or $KEYCLOAK_BASE/standalone/configuration/standalone-ha.xml

Find the <subsystem xmlns="urn:jboss:domain:keycloak-server:1.1"> node.

  • Add the <provider>module:org.keycloak.keycloak-idp-hashedId-mapper</provider> into the <providers> list

Use instructions

If the installation is successful, you will be able to use the SAML IdentityProvider mapper Hashed User ID Mapper as named in the UI droplist of the mappers type selection.

About

A pluggable IdP mapper for keycloak. To be used in eosc installations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%