Closed leventyalcin closed 5 months ago
Whilst digging through GitHub, I came across an open source mapper's documentation and I saw the config like the following in here;
config = {
"claim.name" = "teams"
"jsonType.label" = "JSON"
"id.token.claim" = true
"access.token.claim" = true
"userinfo.token.claim" = true
"dapla-team-api.impl" = "Mocky"
"dapla-team-api.url" = "https://run.mocky.io/"
}
Apparently, that works.
Hi all,
I'm trying to use
keycloak_generic_protocol_mapper
and use a custom mapper that I developed.However, I can't add those custom mappers to access tokens. All the other mapper types (eg;
keycloak_openid_user_attribute_protocol_mapper
) have arguments likeadd_to_access_token
,add_to_id_token
,add_to_userinfo
.I'm not sure how it could be possible to use a custom mapper without being able to manage those switches on the UI. Even the provider doesn't understand those in the code level, it still turns any of those off at the next
terraform apply
interestingly.I'd appreciate if
add_to_access_token
was available forkeycloak_generic_protocol_mapper
Thanks, Levent.