cloudentity / oauth2c

User-friendly OAuth2 CLI
https://cloudentity.github.io/oauth2c/
Apache License 2.0
741 stars 29 forks source link

Webserver for callback refuses connection #83

Closed Nimamoh closed 4 months ago

Nimamoh commented 1 year ago

Hello,

I just installed the tool using this command

curl -sSfL https://raw.githubusercontent.com/cloudentity/oauth2c/master/install.sh | \
              sudo sh -s -- -b /usr/local/bin latest

I successfully started the tool. However, the local webserver refuses connection. When asked to open the URL, callback endpoint doesn't work. telneting to it indicates a refused connection:

$ telnet localhost 9876
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
mbilski commented 1 year ago

Hello,

Does it mean it is waiting for a callback forever?

 ▀ Waiting for callback. Go to the browser to authenticate... (5s)

?

What system are you using? Could a firewall block this port?

felixscheinost commented 11 months ago

I have the same issue. Reloading the page in the browser helps. Seems like the webserver for receiving the callback isn't up yet?