Skip to content

New Spotify guidelines: "localhost is not allowed as redirect URI." #31

@evopls

Description

@evopls

Per the official Spotify guidelines:

Beginning on the 9th of April 2025 we will enforce the subsequent validations to all newly created apps.

We expect all clients to migrate to the new redirect URI validation by November 2025.

Requirements

Since we at Spotify, take security very seriously you must follow these requirements when defining your redirect URI:

Use HTTPS for your redirect URI, unless you are using a loopback address, when HTTP is permitted.
If you are using a loopback address, use the explicit IPv4 or IPv6, like http://127.0.0.1:PORT or http://[::1]:PORT as your redirect URI.
localhost is not allowed as redirect URI.

The readme suggests In the app settings, add http://localhost:8088 in the Redirect URIs section. which is no longer possible according to these guidelines.

I tried using http://127.0.0.1:8088 instead which results in: INVALID_CLIENT: Invalid redirect URI

How can I get aw-watcher-spotify to work now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions