[PR #19] [MERGED] Fix user having to log in after token refresh #728

Closed
opened 2026-02-28 00:01:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/19
Author: @mattduck
Created: 8/4/2014
Status: Merged
Merged: 8/17/2014
Merged by: @plamere

Base: masterHead: fix-auth-token-refreshing


📝 Commits (2)

  • a6f096e Add missing sys import
  • 72d13dd Fix user having to login after first token refresh

📊 Changes

2 files changed (+13 additions, -4 deletions)

View changed files

📝 spotipy/__init__.py (+1 -0)
📝 spotipy/oauth2.py (+12 -4)

📄 Description

Fix get_cached_token method failing to return refreshed tokens, meaning that users have to log in when the token expires. Full explanation in commit message: mattduck@72d13dd.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/19 **Author:** [@mattduck](https://github.com/mattduck) **Created:** 8/4/2014 **Status:** ✅ Merged **Merged:** 8/17/2014 **Merged by:** [@plamere](https://github.com/plamere) **Base:** `master` ← **Head:** `fix-auth-token-refreshing` --- ### 📝 Commits (2) - [`a6f096e`](https://github.com/spotipy-dev/spotipy/commit/a6f096e3dc191c730b9d9e8898bf56ef91840fe2) Add missing sys import - [`72d13dd`](https://github.com/spotipy-dev/spotipy/commit/72d13dd0a7b056b502fc20bf7f4cde4a8a762926) Fix user having to login after first token refresh ### 📊 Changes **2 files changed** (+13 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `spotipy/__init__.py` (+1 -0) 📝 `spotipy/oauth2.py` (+12 -4) </details> ### 📄 Description Fix get_cached_token method failing to return refreshed tokens, meaning that users have to log in when the token expires. Full explanation in commit message: mattduck@72d13dd. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:01:22 +03: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
starred/spotipy#728
No description provided.