KeePass Google Drive Sync Plugin Authorization Failed




Many of us use a password database to keep track of the hundreds of passwords we create for our online accounts, I use a password database called KeePass, it works by creating a local database which you could store on your computer or a USB drive which is encrypted without password and keyfile, for the sake of convenience there is a plugin enables you to sync your password database 2 your Google Drive account so you can load it remotely or install the KeePass app on your phone.

I have been using KeePass for years and it has served me really well, however recently I encountered an issue with the Google Sync Plugin which displayed the message "Authorization failed: access_denied"

Google Sync Plugin - Authorization failed: access_denied

I tried a range of things to rectify the problem such as updating the plug in and updating key pass however none of my attempts resolve the issue one of the key issues is that due to the native code using an Internet Explorer window for the Google login page and the fact that Google login page no longer works properly in Internet Explorer, I had quite the problem trying to login to my Google account and authorize the Google Sync Plugin.

Fortunately after scouring the web trying to find solutions I found a few Registry hacks that I could use to force the application to run the browser in compatibility mode and enable a setting called "Feature Browser Emulation" and thus I now have a simple 2 step process to resolve this issue.


Disable / Uninstall Internet Explorer

  1. Open Control Panel and navigate to Programs and Features
  2. In the left pane, click Add/Remove Windows Components
  3. Find Internet Explorer and Uncheck it
  4. Click OK and if necessary restart your computer.

Apply Registry Changes

The final step in resolving the issues with the KeePass Google Sync Plugin is making some changes to the registry to enable compatibility mode in the IE browser and enabling feature emulation.
  1. Download my keepass.reg file, or alternatively you may also find the raw code of the reg file embedded below.
  2. Right-click on the downloaded keepass.reg file and select Merge
  3. Confirm you would like to merge the entries by clicking Yes
  4. You should get a message confirming the keys were added successfully.
That should be all you need to do to get the Google Sync Plugin working again, if these steps don't resolve the issue I would suggest updating KeePass and trying again, I hope this helps.


Was this helpful?

Yes No


Comments

  1. Thank you so much.. It's working

    ReplyDelete
    Replies
    1. So happy to hear this helped you, thanks for the comment!

      Delete
    2. That fixed my problem as well! Thank you!!

      Delete
    3. Glad to hear it helped Bob, thanks for the comment :)

      Delete
  2. la solution fonctionne très bien, merci !!

    ReplyDelete
    Replies
    1. Glad to hear it helped you, thanks for the comment :)

      Delete
  3. This still didn't work for me (I installed the latest Edge as well, but that didn't make any difference). Trying KeeAnywhere as an alternative gave me the same issue.
    However after installing the latest KeePass 2.45 that was just released on 07-05, the authorization window seemed a bit different and now it did work!

    ReplyDelete
    Replies
    1. Now that you mention it I think I recall updating KeePass too, as one of the first things I tried to resolve this issue, thanks for the comment, might add that to the article.

      Delete

  4. I can't login. Writes an error:
    This browser or app may not be secure.
    Try using a different browser . If you are already using a supported browser, you can refresh your screen and try again to sign in.

    ReplyDelete
    Replies
    1. Hmmm, try updating KeePass first and see if this helps

      Delete
  5. fix for me is to use the v4.01 of update googlesync.
    Fork by WalterPG: https://github.com/walterpg/google-drive-sync/releases

    ReplyDelete
  6. Dont work for me.
    I have updated keepass to 2.4.5 and Google Sync Plugin to 4.0.1

    I will try to create new credentials and check if it solves problem.

    ReplyDelete
    Replies
    1. Personally when I tried, updating the Google Sync Plugin actually stopped the whole plugin from working, I only updated KeePass on mine and then followed the procedure in this article which resolved the issue for me

      Delete

Post a Comment