-
Notifications
You must be signed in to change notification settings - Fork 824
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
New Authentication Flow #4034
Comments
Just a note: let's please keep the simple token copy/paste flow as a fallback, potentially with a |
@syrusakbary is probably the best person to talk about this, but i feel like we might not want to keep the old flow. That would mean we now have three different flows for logging in (four if you count
The concern I have is that we'll be giving users multiple overlapping ways of authenticating, which will be quite confusing for users. That said, I just checked
|
Yes exactly, there will be contexts and environments where you don't want to create a new token with a new login every time, but also not specify token/registry env vars constantly. Also in contexts where a browser simply isn't available, like on servers. It would be annoying to then have to manually edit the config file. |
Closed in #4057 |
Motivation
We want to improve the user experience for
wasmer login
and align more closely with other CLI toolsProposed solution
The new login flow will be a variant of OAuth:
localhost
$WASMER_DIR/wasmer.toml
and stops the HTTP serverThe full plan is on Notion, but here's the overall flow:
The text was updated successfully, but these errors were encountered: