Skip to content

Add a pinniped logout command #2180

Open

Description

@aslafy-z

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!

Activity

  1. aslafy-z commented on Jan 10, 2025

    @aslafy-z
    Author

    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.

  2. joshuatcasey commented on Jan 17, 2025

    @joshuatcasey
    Contributor

    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?

  3. joshuatcasey commented on Jan 24, 2025

    @joshuatcasey
    Contributor

    Hi @aslafy-z just following up on the above questions.

  4. aslafy-z commented on Feb 26, 2025

    @aslafy-z
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions