Can anyone help me how to set up authentication and authorization for a Worker in Temporal? If I want to allow a Worker only to listen to a specific TaskQueue, how i can achieve that? Thanks in advance.
There is a sample here that you could use as base. Just note with custom authorizer / claims mapper (so not using default ones) you would need to build your custom server image for them to be included.
If i want to allow a Worker only to listen to a specific TaskQueue
Can you give more info here, asking because a worker can only poll from single task queue.
First of all thanks for the response. Let me try out the sample. To more info on my requirements, It’s basically for a Multi-Tenant system where the workers will be dedicated for each Tenant. So don’t want to allow them to listen to other Tenant’s TaskQueue.