As described here in https://github.com/Azure/kubelogin/issues/311 it looks like interactive login mode is not getting a refresh token, so reauth is required every ~70 minutes (validity of AAD access token). It looks like all the upstream issues mentioned in the original issue https://github.com/Azure/kubelogin/issues/311 in azure go sdk are closed/implemented.
Using interactive is IMO more user-friendly and should support caching of the refresh token in a similar way to how devicecode works.
As described here in https://github.com/Azure/kubelogin/issues/311 it looks like
interactive
login mode is not getting arefresh token
, so reauth is required every ~70 minutes (validity of AAD access token). It looks like all the upstream issues mentioned in the original issue https://github.com/Azure/kubelogin/issues/311 in azure go sdk are closed/implemented.Using
interactive
is IMO more user-friendly and should support caching of therefresh token
in a similar way to howdevicecode
works.