Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the correct way to get a new accessToken with service account when the previous one is expired? #629

Open
volodymyr-karpov opened this issue Dec 19, 2024 · 0 comments

Comments

@volodymyr-karpov
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant