UsergeTeam / Userge

Userge, Durable as a Serge
https://userge.tech
GNU General Public License v3.0
677 stars 2.02k forks source link

Google drive support #500

Closed KelvinCrag closed 2 years ago

KelvinCrag commented 2 years ago

It appears that one of the key features of userge "Google drive support" no longer work. Few weeks ago there was reports of credentials being forgotten when app goes idle or restarts.

Sadly now it has come to my notice that Google drive no longer work at all in userge, it doesn't recognize both G_DRIVE_CLIENT_ID and G_DRIVE_CLIENT_SECRET ENVIRONMENT VAR

Thanks for your generous support all these while and I hope it gets fixed.

Krishna-Singhal commented 2 years ago

Seems it's a Bug, try restarting heroku dynos, It will work.

It is because, secured_str() delete env vars of gdrive and you are trying to use gdrive after doing restart. so plugin will not recognise vars since they are popped.