You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Lagoon CLI continues to authenticate using the already cached token even when a custom SSH key is specified using the --ssh-key flag.
To Reproduce
Steps to reproduce the behavior:
Run any command that interacts with the Lagoon API so that a token is retrieved and cached.
Confirm the current user using whoami.
Run whoami again, but with the --ssh-key flag pointing to a private key associated with a different Lagoon account.
Expected behavior
The details of the account associated with the SSH key passed in is returned. Instead, the cached token is used to authenticate, returning incorrect account details.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: macOS
The text was updated successfully, but these errors were encountered:
FleetAdmiralButter
changed the title
Token is not properly invalidated with using a custom SSH key.
Token is not properly invalidated when using a custom SSH key.
Apr 26, 2024
Describe the bug
The Lagoon CLI continues to authenticate using the already cached token even when a custom SSH key is specified using the
--ssh-key
flag.To Reproduce
Steps to reproduce the behavior:
whoami
.whoami
again, but with the--ssh-key
flag pointing to a private key associated with a different Lagoon account.Expected behavior
The details of the account associated with the SSH key passed in is returned. Instead, the cached token is used to authenticate, returning incorrect account details.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: