mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[PR #574] [MERGED] Allow open_browser to be set on creation of auth_manager (SpotifyOAuth/SpotifyPKCE) #946
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#946
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/574
Author: @visiblyisabelle
Created: 9/11/2020
Status: ✅ Merged
Merged: 9/12/2020
Merged by: @stephanebruckert
Base:
master← Head:master📝 Commits (6)
939f869Fix plamere/spotipy#5600905403Adhere to code style9ab47f3Update CHANGELOG.md for changes in939f869bbcdf35cb6open_browser passed to get_auth_response should take precedence over the same argument in the constructor852a55fUpdate FAQ905b36cAdd headless auth example📊 Changes
4 files changed (+59 additions, -30 deletions)
View changed files
📝
CHANGELOG.md(+3 -1)📝
FAQ.md(+8 -1)➕
examples/headless.py(+8 -0)📝
spotipy/oauth2.py(+40 -28)📄 Description
This PR fixes #560 (and possibly #572)
One can now instantiate SpotifyOAuth or SpotifyPKCE with
open_browserset toFalse, behaving the same as if you had calledget_auth_response(open_browser=False). For backwards compatibility, this defaults toTrue.Example:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.