• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Spotify API INVALID_CLIENT: Insecure redirect URI

    Scheduled Pinned Locked Moved Technical Help
    2 Posts 2 Posters 2.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dhani_MaurerD
      Dhani_Maurer
      last edited by

      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.

      jonasJ 1 Reply Last reply
      Reply Quote 0
      • jonasJ
        jonas @Dhani_Maurer
        last edited by

        @Dhani_Maurer

        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-spotify

        I've fixed this now https://github.com/strawberrymusicplayer/strawberry/commit/9ed89afdb2063baaac694f59e7a97d27871e7a01

        1 Reply Last reply
        Reply Quote 0

        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
        • First post
          Last post
        Powered by NodeBB | Contributors