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

Make access_type param configurable #1063

Open
relaxdiego opened this issue Mar 11, 2024 · 0 comments
Open

Make access_type param configurable #1063

relaxdiego opened this issue Mar 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@relaxdiego
Copy link

Purpose of the feature (why)

We need kubectl to request for consent from the user once their id_token has expired. However, having the refresh_token always being requested for by this code makes that impossible to do so.

Our security standards require that no long-lived tokens be present in the kubectl user's machine and refresh_token is one of them. While we understand that this presents an inconvenience to the user everytime id_token expires, we believe it is minimal

Your idea (how)

Add an option to the oidc-login get-token command named --access-type which can either be offline (default) or online.

@relaxdiego relaxdiego added the enhancement New feature or request label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant