Skip to content

unable to authenticate : local port not open #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ssbarnea opened this issue Feb 6, 2019 · 3 comments
Open

unable to authenticate : local port not open #20

ssbarnea opened this issue Feb 6, 2019 · 3 comments

Comments

@ssbarnea
Copy link

ssbarnea commented Feb 6, 2019

After installing spotctl and clicking the url given by spotctl devices (or login) i was redirected by spotify website to a local URL http://localhost:10028/callback?code=... but there is nothing running locally on that port.

And to be clear, I have no proxy configured in the browser. Any ideas?

@Agezao
Copy link

Agezao commented Feb 22, 2019

Hi @ssbarnea !

I've stumbled upon the same problem just now.
I was trying to setup BitBar with spotctl and wasn't able to login. Same problem with Spotify redirecting to -> localhost.

Reading through the code before cloning the repo to build locally I've came across this line of code and a light appears 💡:
image

And then I realised I was doing it wrong.

So the process is:

  1. Run spotctl login, it will generate the login link and start a local server at the port 10028 to check the response;
  2. Do the oAuth at Spotify with the generated URL;
  3. You'll receive a confirmation message at your browser and your terminal communicating the successful login.

After this everything was working as expected, and the best part: I didn't have to clone and build and anything.

Hope this helps.

@encure
Copy link

encure commented Jan 16, 2020

try to close your Spotify app, this worked for me.

@ghost
Copy link

ghost commented May 4, 2020

I still get "Missing required parameter: client_id" when I click on the URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants