mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-27 16:05:51 +03:00
[GH-ISSUE #158] Invalid authorization code #101
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#101
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 @csimpi on GitHub (Jun 7, 2019).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/158
Hi guys,
I don't know what's happening, but I started to get
Invalid authorization codeerror messages during Spotify login. I have no idea why. Is this due to something change in Spotify API?I'm still getting the
codeparamter. I pass the parameter to therequestAccessToken()function, every request parameter looks good, but I'm still gettingInvalid authorization codein the response.Redirect URI has been added to the app's whitelisted uri's.
@csimpi commented on GitHub (Jun 8, 2019):
Update: The same code works only if the redirect URI's domain ends with
.com.It doesn't work with my local domain (vagrant.xy.loc),
it doesn't work event with https:// public domain https://xy.localtunnel.me
The redirect URIs are whitelisted of course.
@jwilsson commented on GitHub (Jun 10, 2019):
This sounds like something at Spotify's end. I'd file an issue over at https://github.com/spotify/web-api and see if they can help.
@csimpi commented on GitHub (Jun 10, 2019):
@csimpi you're totally right, I should have close this at my previous comment, thank you for your answer again!