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); }
1.4m articles
1.4m replys
5 comments
57.0k users