Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the custom protocol mapper in Keycloak 20.0.2?

Tags:

keycloak

I'm upgrading my Keycloak from 16 to 20.

In 16 I could use this screen to add a custom mapper.

enter image description here

In 20.0.2 I can't find this form in the admin panel. There is a Client scopes tab for each client, and it has an add button. But it does not allow me to define my custom mapper. I just adds predefined mappers.

Where is that form? How can I add custom mapper to a client in Keycloak 20.0.2?

like image 384
Ali EXE Avatar asked Sep 14 '25 15:09

Ali EXE


1 Answers

IMO the old ui was a bit more intuitive in this regard. With the new one you need to:

  • Go to your Realm
  • Go to Clients and click on your client
  • switch to 'Client Scopes'

In the 'Assigned client scope' click on your client-id-dedicated:

enter image description here

then you go to the following menu:

enter image description here

Click on 'Configure a new Mapper' and then select 'User Attribute' and you get something as follow:

enter image description here

like image 189
dreamcrash Avatar answered Sep 17 '25 18:09

dreamcrash



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!