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

    Spotify API INVALID_CLIENT: Insecure redirect URI

    Scheduled Pinned Locked Moved
    Technical Help
    2
    2
    77
    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
        • First post
          Last post
        Powered by NodeBB | Contributors