jgauth / MMM-GoogleTasks

22 stars 29 forks source link

node authenticate.js localhost error #17

Open Zamy97 opened 2 years ago

Zamy97 commented 2 years ago

hello!

A newbie here so a bit of help would be appreciated

Been trying to implement this module but can't seem to get over this hurdle. I did get the credential.json in my module folder then I run node authenticate.js and then I get a link to run and get the code and every time I run the link I am running into this:

This site can’t be reached localhost refused to connect. Try:

Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED

I cleared the cache, firewall on/off and proxy, and things but it still seems to not be working!

Any help please

CurlyQ12391 commented 2 years ago

Hey, not sure if this will be helpful since you posted so long ago but I ran into that as well. However, even though you get that screen the code that you need to complete authentication is populated in the URL of the page. You can just copy that and it should allow the authentication to complete.

amarko87 commented 2 years ago

Hey, not sure if this will be helpful since you posted so long ago but I ran into that as well. However, even though you get that screen the code that you need to complete authentication is populated in the URL of the page. You can just copy that and it should allow the authentication to complete.

I can confirm this works, I had trouble with this earlier this year. Copy everything after ...code= in the url.