You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sorry for answering that late, to many notifactions 😉
Well, I guess the behaviour you described should not happen. Seems like at the time of writing this I only tested this
manually using one mapper and there are no other tests...
This was, at the time of writing, more or less for a POC and I am currently into other things, but for sure I'll accept PRs,
so if others stumble upon this, they don't need to fix it themselves.
Can't remember why I decided to cache the claims, but this also depends on how often the token is refreshed.
Maybe this could be disabled by configuration forwarding the decision to the person using it.
Hey! Thank for this package, but I found an issue(idk if this is expected).
If we create multiple mappers the claims values are reused, but it work if you have ONLY ONE mapper:
keycloak-client-role-attribute-mapper/src/main/java/com/nexiles/keycloak/UserClientRoleAttributeMappingMapper.java
Line 294 in 32dab7c
To solve this, for now, I'm adding the mapping model id to the cache key:
And now all the generated claims have the expected values ;)
Do you accept a PR?
And one thing to think: this infomation should have be cached?
The text was updated successfully, but these errors were encountered: