taminhhienmor / node-red-contrib-google-calendar

Apache License 2.0
3 stars 4 forks source link

Refresh token #7

Open pandosme opened 3 years ago

pandosme commented 3 years ago

I get the node to work but it stops working after a while. I suspect it is the authentication refresh token. I get the following debug output: "refresh token error: " and "3. failed attempts. Waiting 8100 ms before next attempt."

How can I get the node to keep a valid token for a longer period of time?

GED8006 commented 3 years ago

I have the same problem which appeared after 7 days. What is the solution?

ratatine commented 2 years ago

Google now resets access tokens after 7 days for unpublished apps. Now I'm doing some testing to see if putting it into a published state by not verifying it (since it's personal use) will get rid of the 7 day expiry but as long as it's in test on the google cloud side it will definitely have to be reset every 7 days.