Fresh CLI installs panic before returning login guidance #12

Open
opened 2026-08-22 20:28:17 +00:00 by faceguy · 0 comments
Owner

Login() calls NewAuthenticator(cfg.Credentials) before validating either the credentials or OAuth token. With an empty configuration, cfg.Credentials is nil, so both CLI playlist commands panic rather than returning the intended login error.

`Login()` calls `NewAuthenticator(cfg.Credentials)` before validating either the credentials or OAuth token. With an empty configuration, `cfg.Credentials` is `nil`, so both CLI playlist commands panic rather than returning the intended login error.
faceguy self-assigned this 2026-08-22 20:28:19 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
faceguy/my-spotify-playlist-sorter-go#12
No description provided.