Hi everyone,
I aim to integrate Keycloak authentication with my Python jobs using service accounts. Some of these jobs can run for over an hour. Access token lifetime will be 5-10 min
What is the correct approach to obtaining a new access token in this case? Is there a built-in solution, or should I implement it manually by checking the token's expiration time and requesting a new one just before the current token expires?