Announcements
Happy Values Week! Today we celebrate *Respect* in the Spotify Stars Program!

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Local Redirect URI does not accept hyphen/minus

Local Redirect URI does not accept hyphen/minus

I am exploring n8n for AI workflows and I am using "self-hosted-ai-starter-kit" and I want to use the Spotify tool in my workflow. When configuring the credentials I get this Redirect URI:

 

  http://localhost:5678/rest/oauth2-credential/callback

 

Since this is a local docker setup it is not so simple to add support for https, so to conform to the restrictions in Spotify regarding http, I can change the host to 127.0.0.1. However, I still cannot use this URI because the hyphen/minus in (the unchangeable) oauth2-credential does not validate as secure in Spotify Developer Dashboard. I can't really see a reason for this character to be disallowed - is this a bug?

Reply
3 Replies

Hi @the_devotional 

I have tested your URI after changing localhost with 127.0.0.1, and it worked without a problem.

Could you please copy and past the error message you get, or take a screenshot?

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Hello Ximzend!

 

Thanks for the quick response 🙂

 

Here are two screenshots from Chrome on MacOS. When the hyphen is present it is not possible to press the Add button, but without everything works as expected. I have also tried the same thing in Safari on MacOS without success.

 

Screenshot 2025-04-20 at 22.52.27.pngScreenshot 2025-04-20 at 22.52.40.png

Hi @the_devotional 

Thank you for the screenshot. I had to create a full new app to get the same error.

I'll escalate it to the Spotify team.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts