[solved] - Creating new script mapper


I would like to add custom header to the token obtained by the user (to be used by Hasura). The way to go seems to add a script mapper.

So I am heading to client - > mappers -> create

But I can’t find the script mapper in the mapper type list. I am using keycloak in docker (latest). It runs with the ​-Dkeycloak.profile.feature.upload_scripts=enable command, but I don’t know where to upload the script and in which format

Is there another place where i can define the mapper?


OK… I finally found it, maybe the effect of the Dkeycloak.profile.feature.upload_scripts I haven’t seen before.
Solved !

how you solved please?

Can you share the solution ?