Hi everyone,
I’m fairly new to Temporal and recently managed to:
-
Deploy a Temporal Server using mTLS.
-
Set up SSO between the Web UI and the server via Keycloak.
-
Configure my Temporal Python worker to authenticate using mTLS and a JWT issued by Keycloak.
Now, I’m trying to figure out how to refresh the JWT token used by the worker without restarting it.
I tried using interceptors, but the documentation on that part is quite sparse and I’m not sure I’m doing it the right way.
Is using an interceptor the recommended approach for this use case, or is there a better pattern I’m missing?
I’m using the official Python SDK, version 1.12.0.
Thanks in advance for your help!