mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #1081] How can I authorize my client with just a callback code? #642
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#642
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 @Le0X8 on GitHub (Mar 30, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1081
I am new to spotipy and wonder why I cannot simply login with just a callback code from the Spotify authorization process like it's being implemented in the PHP Spotify API wrapper by jwilsson.
Is there really no good way to authenticate normally?
I created a simple function to fetch the code:
And now I'm looking for a method like
spotipy.Spotify(client_id=client_id, client_secret=client_secret, callback_code=code), but I cannot find it, and also cannot find something else than the "using an auth manager to open the browser again and pointing to an URL that does not exist" method which really sucks.The "using an auth manager to open the browser again and pointing to an URL that does not exist" method:
@Le0X8 commented on GitHub (Mar 30, 2024):
This isn't even required for my purposes, so I can just use the built-in function.
The authserver I implemented is completely pointless then.