Custom Claim Mapper

Hello all,

I am trying to enable a custom claim mapper for our self-hosted Temporal server. We already have a JWT that is passed to the Temporal frontend, but now I need to map our claims to existing Temporal roles in order to control access.

I wonder how this is done. A couple of minutes ago I saw this post here, which mentions, that I probably need to rebuild the server image in order to make a custom claim mapper work.

Is this the correct way to go? Does the same also apply if I want to have a custom authorizer?

Documentation is talking about pluggable components and such, that is why I was more looking into ways of adding a small binary to the Temporal server image which is then kind of loaded during runtime, like in a plugin model. But this does not seem to be the case then.

Thanks for any help in this regards. :slightly_smiling_face:

Best regards,
André

1 Like