I added? a custom claim to access token with script mapper, but I need put it in refresh token also. Is there any way?
my code:
var deposits = keycloakSession.getContext().getRequestHeaders().getRequestHeader("deposits"); if (deposits.length){ token.getOtherClaims().put("deposits", deposits); }
2.1m questions
2.1m answers
60 comments
57.0k users