Spotify redirect url

Now Spotify does not allow to redirect to localhost, testing Spotify auth is not possible
5 Replies
KiNFiSH
KiNFiSH6mo ago
you can use oauth proxy to test stuff and handle more - https://www.better-auth.com/docs/plugins/oauth-proxy
OAuth Proxy | Better Auth
OAuth Proxy plugin for Better Auth
DDublue
DDublue5mo ago
Did you figure an alt way to test it? I tried all the other domains ([::1] and 127.0.0.1) and they all error or say invalid redirect uri
russssl
russsslOP5mo ago
No I did not , abandoned Spotify for now
DDublue
DDublue5mo ago
Got it now. If you still wanted to use Spotify stuff, you have to be able to change it from localhost to 127.0.0.1 in your environment (or any other usable domain). e.g. I’m using NextJS, so I do npm run dev -H 127.0.0.1.
russssl
russsslOP5mo ago
awesome thx

Did you find this page helpful?