Skip to content

Conversation

@shreddedbacon
Copy link
Member

General Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

This change forces the lagoon login command to refresh the token. Previously this command would only refresh a token if it was invalid, effectively doing nothing.

For users that use many keys, this can lead to problems where the token may be for another user that previously authenticated, but still had a valid token. With a user believing that lagoon login was clearing out the token.

This is addressed in #319, but that pull request has considerable changes that are breaking for users, so this pull request brings a version of that functionality to the current CLI format.

@shreddedbacon shreddedbacon merged commit 7829bdf into main Dec 6, 2024
7 checks passed
@shreddedbacon shreddedbacon deleted the login-reset-token branch December 6, 2024 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants