Yooooomi / your_spotify

Self hosted Spotify tracking dashboard
GNU General Public License v3.0
2.67k stars 109 forks source link

oauth screen staying black after login screen / cant communicate to server #344

Open Keller-kind opened 5 months ago

Keller-kind commented 5 months ago

Hey, I love the app and wanted to host it on a server to always access it. Everyting works well on localhost, when i access the application on the hosted server though, the login screen sends me to a blackscreen, despite redirecting to "url"/oauth/spotify.

Server logs dont show any errors after redirecting.

Application did show the same behaviour after installing it in my local network and trying to access it from another computer, so im guessing i messed up some configuration?

Screenshots Screenshot1

after login

Screenshot3

funnily enough it gives the error message on the login screen when i access it through the domain instead of ip

Screenshot2

Screenshot4

docker-compose

Screenshot5 (I tried several URIs)

Yooooomi commented 5 months ago

Hello! If you want your website to be accessible from another computer than the one it's hosted on, you'll have to get rid of the localhost urls for your frontend in your compose file. Your web application must be accessible just like your server. Provide the same domain for the client app and it should work.