question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Client Protocol Mapper config not being updated

See original GitHub issue

After creating my client with a Mapper, I can’t seem to update it again. Specifically i’m trying to update the multivalued property to true in the protocolMapper config. I don’t see any errors - it’s just that the value is still not enabled in the UI. Here is a snapshot of the JSON file being uploaded…

"protocolMappers": [
        {
          "name": "BranchCodeMapper",
          "protocol": "openid-connect",
          "protocolMapper": "oidc-usermodel-attribute-mapper",
          "consentRequired": false,
          "config": {
            "aggregate.attrs": "false",
            "userinfo.token.claim": "true",
            "multivalued": "true",
            "user.attribute": "branch",
            "id.token.claim": "false",
            "access.token.claim": "true",
            "claim.name": "branch",
            "jsonType.label": "String"
          }
        }

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
cbettcommented, Jun 11, 2020

Of course, sorry for that.

1reaction
jkroepkecommented, Jun 10, 2020

I’m asking because clientScopes has also protocolMappers…

https://www.keycloak.org/docs-api/4.8/javadocs/org/keycloak/representations/idm/ClientScopeRepresentation.html#protocolMappers

I will have look into it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where are the protocol mapper config options documented?
I'm using Keycloak's Java keycloak-admin-client and I'm wanting to set up some protocol mappers for my realm's client.
Read more >
Where are all of the Keycloak Protocol Mapper Config Options ...
I'm using Keycloak's Java keycloak-admin-client and I'm wanting to set up some ...
Read more >
Race when creating client protocol mappers (ClientManager ...
Describe the bug. It is possible for ClientManager#enableServiceAccount to be called concurrently (for example by ...
Read more >
[KEYCLOAK-5259] User Client Role Mapper not working ...
I am working on a bugfix for this, but I need to clarify what the expected outcome of this mapper is for the...
Read more >
Keycloak - Custom Protocol Mapper | Niko Köbler (@dasniko)
Keycloak provides the possibility to implement custom # protocol #mappers to map custom data into access and id token, and the user info ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found