armada
armada copied to clipboard
Armadactl doesn't cache OIDC tokens
Describe the bug
When uisng OIDC for the armada client, the browser is opened on every request.
Expected behavior
Armada client caches the token on first request and re-uses one. If refresh token is available, should also try refreshing the token when current access token is about to expire.
Actual behavior
The client does OIDC authorization on every client run.
LGTM in the pull request