Spotify API INVALID_CLIENT: Insecure redirect URI
-
Getting this error INVALID_CLIENT: Insecure redirect URI when trying to authenticate my Spotify account with Strawberry.
I do not know if this is a Spotify error, or the latest version of Strawberry (Version 1.2.15)
Spotify functions normally as a webpage and as an app on my linux machine
I checked Spotify for Developers (https://developer.spotify.com/documentation/web-api/concepts/redirect_uri) and it says localhost is not allowed, which is part of the url sent from Strawberry.Thanks for the great work.
-
They changed the API to not allow localhost anymore, have to use 127.0.0.1 instead:
https://developer.spotify.com/blog/2025-02-12-increasing-the-security-requirements-for-integrating-with-spotifyI've fixed this now https://github.com/strawberrymusicplayer/strawberry/commit/9ed89afdb2063baaac694f59e7a97d27871e7a01
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login