-
Notifications
You must be signed in to change notification settings - Fork 8
Create Keycloak Mappers for Hogarama
Hogarama needs the following 4 informations from keycloak for identifying the user and further processing.
- name
- given name
- family name
Therefore mappers in the Keycloak client need to be defined. For now this process is not automated and this step has to be done manually at the moment.
-
Login to the Keycloak administration console (https://keycloak-hogarama.apps.steppe.gepaplexx.com/auth/admin/)
-
Go to
Clients
--> hogarama-frontend
- Go to the
Mappers
-Tab
Three of the informations mentioned at the beginning of this document can be mapped by builtin mappers.
- In the
Mappers
Tab click onAdd Builtin
- Choose
email
,family name
andgiven name
- Confirm with
Add selected
The name
property is not builtin and need to be configured manually.
- In the
Mappers
Tab click onCreate
- Create the Mapper with the following settings:
- Name:
name
- Mapper Type:
User Property
- Property:
username
- Token Claim Name:
name
- Name:
- Click on
Save
The following screenshot shows the properties described in step 2:
Hogarama shows your Bearer Token after the login. You can decode this Bearer Token on https://jwt.io/ to see the attributes in readable form. Look out for the attributes name
, given_name
, family_name
and email
.
- Home
- Setup Guide
- Using Hogarama
-
Cloud Components
- AMQ
- MongoDB
- Single Sign On
- Hogajama
- Kafka
- Habarama
- Troubleshooting Hogarama
- Optional Modules
- Developer Guideline