Skip to content

Constant need for reauth every startup #211

@sasspaper

Description

@sasspaper

Describe the bug
Almost every time I open Spotatui it asks for me to reauth with Spotify

Expected behavior
Boot straight to library

Screenshots

Image

Desktop (please complete the following information):

  • OS: Nobara Linux
  • Terminal: kitty
  • Version 0.38.0

][15:55:05][spotatui][INFO] spotatui 0.38.0 starting up
[2026-04-11][15:55:05][spotatui][INFO] audio backend initialized
[2026-04-11][15:55:05][spotatui][INFO] panic hook configured
[2026-04-11][15:55:05][spotatui][INFO] user config loaded successfully
[2026-04-11][15:55:06][spotatui][INFO] client authentication config loaded
[2026-04-11][15:55:06][spotatui][INFO] authentication token loaded from cache
[2026-04-11][15:55:06][rspotify_http::reqwest][INFO] Making request RequestBuilder { method: POST, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("accounts.spotify.com")), port: None, path: "/api/token", query: None, fragment: None }, headers: {"content-type": "application/x-www-form-urlencoded"} }
[2026-04-11][15:55:06][spotatui][INFO] cached authentication token is invalid, re-authentication required
[2026-04-11][15:55:06][spotatui][INFO] starting spotify authentication flow on port 8989
[2026-04-11][15:55:06][rspotify::auth_code_pkce][INFO] Building auth URL
[2026-04-11][15:55:06][rspotify::auth_code_pkce][INFO] Generating PKCE codes
[2026-04-11][15:55:41][spotatui][INFO] authorization code received, requesting access token
[2026-04-11][15:55:41][rspotify::auth_code_pkce][INFO] Requesting PKCE Auth Code token
[2026-04-11][15:55:41][rspotify_http::reqwest][INFO] Making request RequestBuilder { method: POST, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("accounts.spotify.com")), port: None, path: "/api/token", query: None, fragment: None }, headers: {"content-type": "application/x-www-form-urlencoded"} }
[2026-04-11][15:55:41][rspotify::clients::base][INFO] Token cache write ignored (not configured)
[2026-04-11][15:55:41][spotatui][INFO] token cached to /home/paper/.config/spotatui/.spotify_token_cache_d420a117.json
[2026-04-11][15:55:41][spotatui][INFO] successfully authenticated with spotify
[2026-04-11][15:55:41][spotatui][INFO] Using ncspot shared client ID. If it breaks in the future, configure fallback_client_id in client.yml.
[2026-04-11][15:55:41][spotatui][INFO] app state initialized

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions