Bug Description
After logging in with a Google account and then logging out, the login dialog is skipped on the next login attempt. The user is automatically re-authenticated with the previously used Google account, making it impossible to switch to email/password login.
Steps to Reproduce
- Open the app and click "Login with Spotify"
- On the Spotify login page, choose "Continue with Google"
- Complete the login
- Click "Logout"
- Click "Login with Spotify" again
Expected Behavior
The Spotify login dialog appears, allowing the user to choose between Google and email/password login.
Actual Behavior
The Spotify login dialog is skipped entirely. The user is silently re-authenticated via their still-active Google session.
Root Cause
The Spotify OAuth authorization URL is built without the show_dialog parameter. When this parameter is omitted (or false), Spotify skips the login dialog if an active session exists. After logout, only the local tokens are cleared — the Spotify/Google session remains active on accounts.spotify.com.
Workaround
As a user go to https://accounts.spotify.com/logout and reload the page.
Bug Description
After logging in with a Google account and then logging out, the login dialog is skipped on the next login attempt. The user is automatically re-authenticated with the previously used Google account, making it impossible to switch to email/password login.
Steps to Reproduce
Expected Behavior
The Spotify login dialog appears, allowing the user to choose between Google and email/password login.
Actual Behavior
The Spotify login dialog is skipped entirely. The user is silently re-authenticated via their still-active Google session.
Root Cause
The Spotify OAuth authorization URL is built without the show_dialog parameter. When this parameter is omitted (or false), Spotify skips the login dialog if an active session exists. After logout, only the local tokens are cleared — the Spotify/Google session remains active on accounts.spotify.com.
Workaround
As a user go to https://accounts.spotify.com/logout and reload the page.