-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add a pinniped logout
command
#2180
Comments
A nice thing would be to also redirect to the logout url of the provider. This would add complexity as it would need to update the supervisor code to include a redirect or backchannel logout logic. |
Could you give more details on the use-case for this feature? Often Pinniped allows login to multiple K8s "workload" clusters from one "management" cluster. Would a logout mean that a user could no longer use one particular cluster, or all clusters? Is there a security compliance concern driving this feature? |
Hi @aslafy-z just following up on the above questions. |
The goal is to completely log out of all sessions (all clusters), ensuring that the next login requires entering new credentials. This is particularly useful for testing multi-tenant scenarios, where switching between different identities needs to be streamlined without manually deleting cached credentials. |
Is your feature request related to a problem? Please describe.
Deleting the cache folder to logout may not be straightforward for all users and the path changes between OSes.
Describe the solution you'd like
A
pinniped logout
cli command.Describe alternatives you've considered
Delete the cache folder.
Are you considering submitting a PR for this feature?
Yes, why not!
pinniped/site/content/docs/howto/debugging.md
Lines 162 to 172 in 83ab099
The text was updated successfully, but these errors were encountered: