jgauth / MMM-GoogleTasks

22 stars 29 forks source link

authentication setup not working #13

Open dienstregeling opened 4 years ago

dienstregeling commented 4 years ago

Dear reader,

I really like to use you module for google tasks for my magicmirror. The problem I encounter is that when i go through the 5 steps to get the listID from the authentication setup, it doesnt work.

during step 1 i have to get a credentials.json. But what type of application do i have to select? (i went with web client and again with web server) step 2 and 3 are pretty straight forward. step 4 when i run the node authentication.js, it seems to expect a different format from the credentials.json My credentials.json starts with something like {"web"... where it expects {"installed" instead of web. When i correct this in the authentication.js, it supplies me with an URL i have to copy to my browser and then it expects a return code. When i enter the URL, i can login in my google account and then it tries to contact the webserver, which is my localhost, which does ofcourse doesnt work.

Currently I'm stuck here.

I submitted this as an issue as following the steps doesnt get the desired result, but it could also be me not understanding the steps. If that is the case, my apology for that.

Thank you in advance!

lavolp3 commented 4 years ago

for step 1 I used desktop application and it worked. That should also clear out step 4. When you go to the link it works rather straight forward.

svanderwees commented 2 years ago

Was a solution ever confirmed for this issue? I am having the same problem as OP even using "desktop application" while setting up OAuth2.0 credentials. Specifically the redirection to localhost and not receiving a listID.