EldonMcGuinness / UnraidCloudBackup

A simple backup tool for Unraid
10 stars 0 forks source link

Google only allows a single refresh_token per App. #6

Open EldonMcGuinness opened 8 months ago

EldonMcGuinness commented 8 months ago

If a user creates more than one connection to the same Google account, it will not receive a refresh_token, which will result in the connection becoming invalid after the auth_token expires. I have yet to find a way to fix or get around this issue.

Maybe a check can be written to see if a connection already exists with a particular google account. Currently, this is not possible as the app does not track the actual google account to which it is tied.

REF: https://stackoverflow.com/questions/10827920/not-receiving-google-oauth-refresh-token