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

Drop support for log in with email & password in the new k6 cloud login #3886

Merged

Conversation

joanlopez
Copy link
Contributor

Supersedes #3835

What?

It drops the support for the interactive login with email and password from the recently introduced k6 cloud login subcommand.

Why?

Because that authentication mechanism is considered deprecated, and so we only leave the support for it through the deprecated k6 login cloud subcommand, but not in the new k6 cloud login command.

Checklist

  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make tests) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

@joanlopez joanlopez requested a review from a team as a code owner August 5, 2024 09:00
@joanlopez joanlopez requested review from mstoykov and codebien and removed request for a team August 5, 2024 09:00
@joanlopez joanlopez self-assigned this Aug 5, 2024
@joanlopez joanlopez added the cloud label Aug 5, 2024
@joanlopez joanlopez added this to the v0.53.0 milestone Aug 5, 2024
@joanlopez joanlopez force-pushed the cloud_subcommands-drop_stdcreds-2 branch from 1ae078b to d534235 Compare August 5, 2024 09:05
Copy link
Contributor

@codebien codebien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see some potential improvements we should make to polish a bit the UX. We can do that during the next cycle.

  • Mask the token on k6 cloud login command
  • Do not use the authenticate word as it might create wrong expectations
  • A better message output for the reset command
  • The login command's output
Token: Empty
token: <here the token>

I see why this is happening but we should maybe make it a bit more user-friendly.

The important part has been addressed. Thanks @joanlopez 🙇

@joanlopez
Copy link
Contributor Author

I see some potential improvements we should make to polish a bit the UX. We can do that during the next cycle.

Would you mind listing them, so we don't forget them, please? 🙇🏻

@joanlopez joanlopez requested review from olegbespalov and oleiade and removed request for olegbespalov August 5, 2024 09:29
@mstoykov mstoykov changed the title Drop support for log in with email & password Drop support for log in with email & password in the new k6 cloud login Aug 7, 2024
@mstoykov mstoykov merged commit 4b3feeb into grafana:master Aug 7, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants