[PR #529] [MERGED] Add redirect_uri to the environment #926

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

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/529
Author: @MikeiLL
Created: 7/6/2020
Status: Merged
Merged: 7/6/2020
Merged by: @stephanebruckert

Base: masterHead: master


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 examples/app.py (+2 -1)

📄 Description

And specify that it should be the address that the App runs over.

Would it also be useful for the example to include a cache_path, so that it "works" more immediately?

CACHE = ".cache-" + "test"
SCOPE = None
# user-top-read user-library-read playlist-read-public user-follow-read
auth_manager = spotipy.oauth2.SpotifyOAuth(credentials.SPOTIPY_CLIENT_ID, credentials.SPOTIPY_CLIENT_SECRET, credentials.SPOTIPY_REDIRECT_URI, scope=SCOPE, show_dialog=True, cache_path=CACHE)

🔄 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/529 **Author:** [@MikeiLL](https://github.com/MikeiLL) **Created:** 7/6/2020 **Status:** ✅ Merged **Merged:** 7/6/2020 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`b8efb5a`](https://github.com/spotipy-dev/spotipy/commit/b8efb5a9fe365d8d8e1424f359c10845b89e5826) Add redirect_uri ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `examples/app.py` (+2 -1) </details> ### 📄 Description And specify that it should be the address that the App runs over. Would it also be useful for the example to include a cache_path, so that it "works" more immediately? ``` CACHE = ".cache-" + "test" SCOPE = None # user-top-read user-library-read playlist-read-public user-follow-read auth_manager = spotipy.oauth2.SpotifyOAuth(credentials.SPOTIPY_CLIENT_ID, credentials.SPOTIPY_CLIENT_SECRET, credentials.SPOTIPY_REDIRECT_URI, scope=SCOPE, show_dialog=True, cache_path=CACHE) ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:02:41 +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#926
No description provided.