mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 08:35:49 +03:00
[GH-ISSUE #344] util.prompt_for_user_token() doesn't pass redirect URI correctly #201
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#201
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 @codeoxvf on GitHub (Jan 13, 2019).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/344
Ran the example code to get the user's saved tracks. The environment variables for client id, secret and redirect URI were set, but the Spotify authorisation website had None as the redirect URI. The function did not get the contents of SPOTIPY_REDIRECT_URI or did not set it in the query parameters properly?
@codeoxvf commented on GitHub (Jan 13, 2019):
I have tried the same code, but passing the client ID, secret and redirect URI directly to the function arguments. It works when passed like that. This points to a problem in the parsing of the environment variables.
@DackJempsey commented on GitHub (Feb 14, 2019):
When exporting keys in my environment I keep getting a 550, credentials not set. Have you tried setting in environment lately or just hardcoding?
@stephanebruckert commented on GitHub (Jan 13, 2020):
There was a typo in the doc. Please see https://github.com/plamere/spotipy/issues/402#issuecomment-573890067 for a fix