your_spotify
your_spotify copied to clipboard
strange callback uri and connect error
Describe the bug
The web applcation cant connect to server, on loading , after clicking on login it goes to a link localhost.http//(externaldomain).TLD)
Expected behavior
on clicking login it should login to spotify dev client
Additional context
Used the linux server image , its running in docker on a synology box. local ip is 172.16.0.126 After switching to your dockers it now redirects to 172.16.0.126:3000/oauth/spotify What it expect is that de server its self so 8080 does the auth part and login to spotify dev account not de client
Both have been set as Redirect URIs in de spotify app i created. Screenshots
If applicable, add screenshots to help explain your problem.
this screen shot was for refrence i added the localhost and ip with :3000/oath/spotify and oauth/spotify/callback op http and https to developer app
Shared link
If you don't mind, you can add a Shared link to this issue by clicking Share this page on your YourSpotify application so that I can identify the issue quicker.
To confirm, when you click login, it doesn't even bring you to the Spotify login page whatsoever? It should bring you to accounts.spotify.com/ and then some stuff at the end.
If it is not, try making sure you have /api/oath/spotify
and not /oath/spotify
in your URI redirects on the Spotify Developer dashboard. So for me, it would be https://music.domain.tld/api/oauth/spotify
. The way you have the IP is correct in your screenshot already.
My only other suggestion is to make sure you're mapping ports correctly. If you want me to take a look you could send your Docker Compose file here. Just make sure to remove any sensitive info like your spotify api info and your web address if applicable.