mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #467] Getting auth token fails in localhost:8080 #272
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#272
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 @dpeite on GitHub (Apr 11, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/467
Hello everyone,
I just download the last release and executing the example
simple4.pyfails with the next message error.Digging throught the project I see that the error comes from the function
parse_response_code().This function is called from
get_authorization_codeand always receives a string:Always receive a string because function
get_auth_response()calls the methods_get_auth_response_local_serveror_get_auth_response_interactivedepending of the redirect uri, but these functions always return directly the auth code string.I think that it's not necessary the call to
parse_response_codein functionget_authorization_code.@stephanebruckert commented on GitHub (Apr 11, 2020):
Hello @dpeite,
Nice catch! Thanks for the pointers. I'm trying to fix this now and will keep you updated
@stephanebruckert commented on GitHub (Apr 11, 2020):
This as well as other URL-parsing related issues should now be fixed in 2.11.1. Can you please confirm if you get a chance?
Thanks a lot for the report!
prompt_for_user_tokenexample #840