[PR #438] [MERGED] Prompt option to always show a dialog when giving permissions to Spotify #896

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

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/438
Author: @JohannesPertl
Created: 2/10/2020
Status: Merged
Merged: 2/12/2020
Merged by: @stephanebruckert

Base: masterHead: master


📝 Commits (2)

  • 115f315 Add show_dialog option to prompt_for_user_token()
  • a034653 Adjust test_get_authorize_url_shows_dialog_when_requested

📊 Changes

3 files changed (+8 additions, -4 deletions)

View changed files

📝 spotipy/oauth2.py (+4 -2)
📝 spotipy/util.py (+2 -0)
📝 tests/unit/test_oauth.py (+2 -2)

📄 Description

The show_dialog field is added as an option to util.prompt_for_user_token().

This is necessary if you want to authenticate multiple users in a row


🔄 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/438 **Author:** [@JohannesPertl](https://github.com/JohannesPertl) **Created:** 2/10/2020 **Status:** ✅ Merged **Merged:** 2/12/2020 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`115f315`](https://github.com/spotipy-dev/spotipy/commit/115f315fe53375b19a1433784dc3af9a689b6788) Add show_dialog option to prompt_for_user_token() - [`a034653`](https://github.com/spotipy-dev/spotipy/commit/a0346532d9fb790897c65130617f66af2c0ca931) Adjust test_get_authorize_url_shows_dialog_when_requested ### 📊 Changes **3 files changed** (+8 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `spotipy/oauth2.py` (+4 -2) 📝 `spotipy/util.py` (+2 -0) 📝 `tests/unit/test_oauth.py` (+2 -2) </details> ### 📄 Description The ```show_dialog``` field is added as an option to util.prompt_for_user_token(). This is necessary if you want to authenticate multiple users in a row --- <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:28 +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#896
No description provided.