mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-26 23:45:49 +03:00
[GH-ISSUE #143] Authorize endpoint is wrong, results in "access_denied" #85
Labels
No labels
bug
docs
enhancement
enhancement
enhancement
feedback wanted
good first issue
help wanted
help wanted
help wanted
invalid
pull-request
question
question
upstream
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-web-api-php#85
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 @lu3do on GitHub (Nov 7, 2018).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/143
Since yesterday (november 6th) I was having issues with authorizing new users.
Every request returned "result=access_denied"
Turns out the endpoint used in
getAuthorizeUrl()was not correct.The endpoint should be without the trailing slash.
https://accounts.spotify.com/authorize?and not
https://accounts.spotify.com/authorize/?This did work before november 6th, but I guess they changed something in the Spotify API.
See:
https://twitter.com/SpotifyPlatform/status/1059932726395133952
https://twitter.com/SpotifyPlatform/status/1059932376011337737
https://developer.spotify.com/documentation/general/guides/authorization-guide/#authorization-code-flow
@jwilsson commented on GitHub (Nov 7, 2018):
Oh, that's not good! 😬
I'll push a patch later tonight (CET).
@jwilsson commented on GitHub (Nov 7, 2018):
I've just published
2.6.1with the correct URL.