[GH-ISSUE #170] Invalid Redirect URI #111

Closed
opened 2026-02-27 19:26:07 +03:00 by kerem · 2 comments
Owner

Originally created by @bfblackjack on GitHub (Nov 7, 2019).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/170

I created a new app with my Spotify account and am now attempting to test the authentication via auth code method. Unfortunately, I keep getting an "Invalid Redirect URI" error from Spotify. I have confirmed that my URLs (HTTP & HTTPS!) are in the app settings and I have confirmed, passing both statically and dynamically, the URL passed into the session redirectUri is the same. I am at a loss for words. Is there something easy I am missing or what?

Originally created by @bfblackjack on GitHub (Nov 7, 2019). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/170 I created a new app with my Spotify account and am now attempting to test the authentication via auth code method. Unfortunately, I keep getting an "Invalid Redirect URI" error from Spotify. I have confirmed that my URLs (HTTP & HTTPS!) are in the app settings and I have confirmed, passing both statically and dynamically, the URL passed into the session redirectUri is the same. I am at a loss for words. Is there something easy I am missing or what?
kerem 2026-02-27 19:26:07 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@jwilsson commented on GitHub (Nov 7, 2019):

Hey!
I don't know what to tell you, some people just seem to experience these issues with no logical explanation (it has happened to me too). Deleting the app and creating a new one fixes it sometimes but otherwise I'm afraid I'm at a loss for words too.

<!-- gh-comment-id:550924962 --> @jwilsson commented on GitHub (Nov 7, 2019): Hey! I don't know what to tell you, some people just seem to experience these issues with no logical explanation (it has happened to me too). Deleting the app and creating a new one fixes it sometimes but otherwise I'm afraid I'm at a loss for words too.
Author
Owner

@bfblackjack commented on GitHub (Nov 7, 2019):

Interestingly enough, it appears to be working now. Go figure - nothing changed on my end since this post. Hmmm!

<!-- gh-comment-id:551285729 --> @bfblackjack commented on GitHub (Nov 7, 2019): Interestingly enough, it appears to be working now. Go figure - nothing changed on my end since this post. Hmmm!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-web-api-php#111
No description provided.