← Back to issue list

Failed authentication looks like it succeeded

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1610847
Type
issue
State
closed
Author
~didrocks
Labels
bitesize ui
Created
Updated
Closed

Current evaluation

Authentication output colors were fixed by snapcore/snapcraft#1055, merged as commit 2853c184a: authentication is uncolored and login failures use error styling.

Resolution: closed resolved

Reason: PR snapcore/snapcraft#1055 resolved the misleading output and was merged as commit 2853c184a.

Evaluated by: mr-cal-bot

No scores available.

Issue body

$ 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): 663167 Authenticating against Ubuntu One SSO. Login failed. -> The last two lines are confusing as they are both printed in green, like if this was successful. "Authenticating…" shouldn't use any color. "Login failed" should be red as it's an error

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Authentication output colors were fixed by snapcore/snapcraft#1055, merged as commit 2853c184a: authentication is uncolored and login failures use error styling.
stealth/space-bunny-alpha — closed resolved Authentication output colors were corrected in snapcore/snapcraft#1055, making progress uncolored and presenting login failures with error styling.
stealth/space-bunny-alpha — closed resolved Fixed misleading login output in canonical/snapcraft#1055 (commit 2853c184a): authentication status is uncolored and login failures use the error color.
stealth/space-bunny-alpha — closed resolved Resolved by #804 (commit bee0b41ba), which adjusted Snapcraft’s login flow to match its UX specification.
qwen/qwen3.6-35b-a3b — — Closed as resolved. Terminal output colors were corrected: authenticating messages now use default styling, and failed login attempts render in red to accurately indicate authentication status.
qwen/qwen3.6-35b-a3b — — Closed. The UI color mismatch was resolved by updating failed authentication messages to display in red instead of green.

Update history

Date Change
created

Related work

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

    The linked PR corrected authentication progress and failure colors, directly addressing the report.

Related issues

Issue Project State Summary Similarity
#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."
74%