UpdraftPlus + DesktopServer + Google Drive: Account is not authorized.
-
Hello,
This is my first time trying out UpdraftPlus. I have a local installation of WordPress running in a DesktopServer environment. I’ve configured everything on the Google Drive API side of things and in the plugin settings for UpdraftPlus. However, when the backup runs, it gives this error in the status screen and log file:
Google Drive: Account is not authorized.
Does UpdraftPlus not work with Google Drive when run from a non-public site? I did give the Google Drive API the redirect URI, similar to this:
https://<mylocalsitename>.dev/wp-admin/options-general.php?action=updraftmethod-googledrive-auth
(with <mylocalsitename> replaced with the true name)
DesktopServer has a made up TLD of .dev that points to localhost.
After putting the above into the credentials page of the Google API settings, and waiting a few minutes, I was able to click on the link in the UpdraftPlus settings page to authenticate to Google Drive:
https://<mylocalsitename>.dev/wp-admin/options-general.php?action=updraftmethod-googledrive-auth&page=updraftplus&updraftplus_googleauth=doit
That did return an error initially, but worked after several minutes.
The next time the backup tried to run, it still returned: Account is not authorized.
I’m guessing this might be due to having a non-publicly accessible URL for the local install, but thought I’d ask to be sure.
Thanks,
David
- The topic ‘UpdraftPlus + DesktopServer + Google Drive: Account is not authorized.’ is closed to new replies.