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.

Parsing client ProtocolMapper.Config is broken? (keycloak 15)

See original GitHub issue

When i request information about a client using client.GetClientsAsync(realm, clientId) i get back multiple Client instances, if i then drill down into one and access one ProtocolMappers, and check the Config everything is null. image

I have done a manual request and then i get the following json response:

{
  "id": "5a0a5ecd-ac69-49ef-8d98-2da9a0a11ba3",
  "name": "Customer ID",
  "protocol": "openid-connect",
  "protocolMapper": "oidc-hardcoded-claim-mapper",
  "consentRequired": false,
  "config": {
    "claim.value": "test",
    "userinfo.token.claim": "false",
    "id.token.claim": "false",
    "access.token.claim": "true",
    "claim.name": "customer_id",
    "jsonType.label": "String",
    "access.tokenResponse.claim": "false"
  }
}

Does this package support keycloak 15 or is it stuck at 6?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
AnderssonPetercommented, Feb 17, 2022

@adhip94 I don’t know the above issue was a showstopper for me so i haven’t used it…

But i guess a fork might be a way forward as @lvermeulen doesn’t even answer…

0reactions
AnderssonPetercommented, Mar 22, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrading Guide
Upgrading the Keycloak Admin Client; Migration Changes ... Changes to the server configuration and startup; Potentially breaking changes to ...
Read more >
Keycloak custom Docker ProtocolMapper deployment
I finally found out why it was not working. The module was not picked up by Keycloak because I was editing the wrong...
Read more >
OIDC Script-based protocol mapper not working after ...
Hello,. I've upgraded from Keycloak 15 to 21 and while I got most things working, it seems like one of the protocol mappers...
Read more >
Keycloak Reference Guide
Completely centrally managed user and role mapping metadata. Minimal configuration at the application side; Admin Console for managing users, roles, role ...
Read more >
Custom Protocol Mapper with Keycloak
A quick and practical guide to using custom protocol mappers with Keycloak.
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