← Back to issue list

snapcraft login does not match the UX spec

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1621710
Type
issue
State
closed
Author
~ev
Labels
eco-team store
Created
Updated
Closed

Current evaluation

Fixed by merged snapcore/snapcraft PR #804 (commit bee0b41ba), aligning snapcraft login with the UX spec, including conditional 2FA and MFA guidance.

Resolution: closed resolved

Reason: The maintainer linked merged PR snapcore/snapcraft#804, implemented in commit bee0b41ba. It updated login to request two-factor authentication only when required and show MFA guidance when skipped.

Evaluated by: mr-cal-bot

No scores available.

Issue body

What currently happens: > $ snapcraft login > Enter your Ubuntu One SSO credentials. > Email: <email address hidden> > Password: > One-time password (just press enter if you don't use two-factor authentication): 000000 > Authenticating against Ubuntu One SSO. > Login successful. What should happen: > $ snapcraft login > Please enter your Ubuntu One credentials. > Email: <email address hidden> > Password: > Second-factor auth: 12583 > > Login successful. AND > $ snapcraft login > Please enter your Ubuntu One credentials. > Email: <email address hidden> > Password: > > We strongly recommend enabling multi-factor authentication > at https://myac... > > Login successful. Note that you get an error back that lets you know whether you entered the wrong password or whether a second-factor token is required. The "just press enter" line should go away, amongst the other changes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged snapcore/snapcraft PR #804 (commit bee0b41ba), aligning snapcraft login with the UX spec, including conditional 2FA and MFA guidance.
stealth/space-bunny-alpha — closed resolved Snapcraft login was aligned with the UX spec by merged PR #804 (commit bee0b41ba), prompting for 2FA only when required and showing MFA guidance when skipped.
stealth/space-bunny-alpha — closed stale The login UX update was abandoned without implementation; LP #1621710 was closed with no matching code change. PR #274 only fixed empty OTP submission.
qwen/qwen3.6-35b-a3b — — Requested UX alignment for snapcraft login was closed without implementation. No changes matched the proposed specification, and the enhancement was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The reported UX mismatch in snapcraft login prompts was not addressed, likely abandoned or superseded by newer authentication flows.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The requested UX updates were not implemented and likely superseded by modern authentication flows.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#804 (confidence 99%)

    Merged PR titled "Adjust login to conform to UX specification (#804)"; resolving commit bee0b41ba.

Related issues

Issue Project State Summary Similarity
#804 Adjust login to conform to UX specification snapcraft merged Merged PR #804 (commit bee0b41ba): snapcraft login now prompts for 2FA only when the store returns the 'two-factor required' error, and prints a hint (hardcoded SSO FAQ link) after a successful login without 2FA. LP: #1621710.
78%
#1539208 snapcraft login fails if account does not require two factor authentication snapcraft (launchpad) closed Merged PR #274 fixed login by including OTP only when non-empty (commit cd3f46aa1; merge 1fc4fdffc).
77%
#1748802 `snapcraft login` authentication failure message could be friendlier snapcraft (launchpad) closed Fixed by merged PR snapcore/snapcraft#1936 (commit 688588a0d), which made the store API surface server-supplied error text, so login failures now read "Authentication error: Failed to get unbound discharge: Provided email/password is not correct."
72%
#1649356 snapcraft login should guide towards account creation snapcraft (launchpad) closed Login prompt now points users to account creation. Fixed by merged PR #1616 (commit cbaf2990e, "store: guide to account creation upon login"); later refined by #2280 to use snapcraft.io/account.
72%