Multicluster on openshift - each "session" expires separately
What do you want to improve?
When using multicluster on openshift, each cluster's session should expire separately and be handled the way that session expiration happens for single cluster. It should also include in the pop up which cluster/session is expiring.
What is the current behavior?
Session expiration is handled only for the kiali home cluster.
What is the new behavior?
Session expiration is handled for each cluster.
Silly question, do we really need session expiration?
Silly question, do we really need session expiration?
Token expiration is a setting on the OAuthClient: https://github.com/kiali/helm-charts/blob/master/kiali-server/templates/oauth.yaml#L21. I'm not sure what the upper bound is on that or whether or not you can disable expiration altogether. But either way expiring the tokens is considered best practice. It'd be nice to implement refresh tokens for openshift and oidc logins so that you don't have to login as often: https://github.com/kiali/kiali/issues/5233
Needs more input on UX to improve login experience when multiple clusters are expiring at once.