MMM-GoogleTasks icon indicating copy to clipboard operation
MMM-GoogleTasks copied to clipboard

authentication setup not working

Open dienstregeling opened this issue 4 years ago • 2 comments

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!

dienstregeling avatar Aug 13 '20 01:08 dienstregeling

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.

lavolp3 avatar Nov 02 '20 22:11 lavolp3

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.

svanderwees avatar Apr 08 '22 01:04 svanderwees