brianstrauch / spotify-cli

Spotify for the terminal
Apache License 2.0
317 stars 16 forks source link

Login fails #37

Closed jorgeAM closed 3 years ago

jorgeAM commented 3 years ago

Hello!

I've tried to login but when accept permission, redirect a localhost url

Captura de Pantalla 2021-07-07 a la(s) 17 05 48

and in my apps tab spotify cli is shown

Captura de Pantalla 2021-07-07 a la(s) 17 07 48

I've already tried to remove app and try again, the problem is still there

Hope you can help me!

brianstrauch commented 3 years ago

Hmm... that's the correct URL. Not sure what the issue is, so here are a few questions:

jorgeAM commented 3 years ago

I don't know if this is correct but redict show me this

Captura de Pantalla 2021-07-07 a la(s) 17 18 42

brianstrauch commented 3 years ago

This is the function that's failing: https://github.com/brianstrauch/spotify-cli/blob/7dccf57bf98b7a774dbed9c93afc1f7d7115b6f5/internal/login/login.go#L108-L131

Do you have something running on port 1024?

jorgeAM commented 3 years ago

I dont ...

jorgeAM commented 3 years ago

My problem was that my browser (Chrome) redirect to use HTTPS instead HTTP