mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #560] Set open_browser on creation of auth_manager (SpotifyOAuth/SpotifyPKCE) #334
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#334
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?
Originally created by @SaraBee on GitHub (Aug 26, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/560
I use Spotipy in some scripts that I am running remotely ssh'd into servers where I don't have access to a browser. It looks like the auth flow is attempting to auto-open a browser, but nothing happens. My current workaround is to run the script and complete the auth flow locally and paste the resulting url + code back into the terminal.
Since I know ahead of time that I won't have access to a browser, and because there's already an
open_browservariable passed around during the auth flow, I'd love to be able to set this up front when instantiating the auth_manager so that instead of it trying to open a browser and failing, it would just give me the auth url so I could open it myself.@stephanebruckert commented on GitHub (Aug 29, 2020):
Yep we need this. This is the continuation of https://github.com/plamere/spotipy/pull/528