mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-29 08:55:52 +03:00
[GH-ISSUE #180] Invalid redirect URL #118
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#118
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 @wbertolo on GitHub (Dec 28, 2019).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/180
Hi Jonathan,
your API is great and easy to use. I am having an issue though. I tested everything locally and it all works. Now that I published it live on an https site, I get the message 'Uncaught SpotifyWebAPI\SpotifyWebAPIAuthException: Invalid redirect URI in /home/follo940/public_html/vendor/jwilsson/spotify-web-api-php/src/Request.php:49', even though I white-listed the new callback URLs on the Spotify App control panel. Any clue about what could be happening? Thanks.
@wbertolo commented on GitHub (Dec 28, 2019):
I added the pages in the same format as I did with the local ones. I also added the one which is failing with and without trailing slashes. I also tried adding and removing trailing slashes from the code.
The similar flow I have inside WP works fine. Only the public-facing one fails like this (it works well on my local though).
@wbertolo commented on GitHub (Dec 28, 2019):
never mind. It was my own fault. I just realized what was wrong.