Menu

Can't authorize on Google even after existing fixes - "Allow" button grayed out

2020-02-13
2020-08-16
  • Vitório Azevedo

    Hi!
    After updating to KeePass 2.44, my Google Sync Plugin stopped syncing and, when asking to download from Google Drive, it prompted me to login again into my account. After doing so, it showed an error message saying my browser was not safe and it couldn't complete the authorization. I tried regenerating an OAuth 2.0 certificate but it kept showing the same error message. I found some possible fixes here in the forums: disabling Internet Explorer 11 and changing/adding keys to the Windows Registry. Through them, i was able to login to my account mbut now, when i get to the window where i need to authorize the app's access to my Google Drive, the Allow button is grayed out and i can't click it.
    I tried rolling back all my edits to the registry and reenabling Internet Explorer 11, but it still gives me the same grayed out button.
    Any ideas?

     
  • Scott McBride

    Scott McBride - 2020-03-29

    I am having this same problem. help plz. my keepass for android is getting more and more out of date.

     
  • walterpg1v

    walterpg1v - 2020-04-02

    It's less convenient, and much more error prone, but you can synchronize "manually", without the plugin. Warning: take care and maybe make backups before trying this! The recipe below is basically how the plugin works; you are just doing it via other methods.

    1. Download the file from Drive to the machine running KeePass, taking care not to overwrite the existing database file on the machine.
    2. Start KeePass and open the database you want to synchronize with (not the one downloaded in step 1).
    3. Select File|Synchronize|Synchronize with File...., which pops a file-open dialog.
    4. Navigate to the folder where you saved the file in step 1, select it, click OK. KeePass will now synchronize the contents of both files.
    5. Upload the synchronized file back to Google Drive (you might have to delete the original file there first to prevent a duplication).

    There is a fix for the plugin in the works. It's actually available now in source code if you want to try and build & install it. If the merge request falls through, I plan to release it elsewhere at a later date.

     
    • Scott McBride

      Scott McBride - 2020-04-02

      Thanks! This actually makes more sense than some of the registry hacks I've
      seen.

      On Thu, Apr 2, 2020 at 9:50 AM walterpg1v walterpg1v@users.sourceforge.net
      wrote:

      It's less convenient, and much more error prone, but you can synchronize
      "manually", without the plugin. Warning: take care and maybe make backups
      before trying this! The recipe below is basically how the plugin works; you
      are just doing it via other methods.

      1. Download the file from Drive to the machine running KeePass, taking
        care not to overwrite the existing database file on the machine.
      2. Start KeePass and open the database you want to synchronize with (
        not the one downloaded in step 1).
      3. Select File|Synchronize|Synchronize with File...., which pops a
        file-open dialog.
      4. Navigate to the folder where you saved the file in step 1, select
        it, click OK. KeePass will now synchronize the contents of both files.
      5. Upload the synchronized file back to Google Drive (you might have
        to delete the original file there first to prevent a duplication).

      There is a fix for the plugin in the works. It's actually available now in
      source code if you want to try and build & install it. If the merge request
      falls through, I plan to release it elsewhere at a later date.


      Can't authorize on Google even after existing fixes - "Allow" button
      grayed out
      https://sourceforge.net/p/kp-googlesync/discussion/general/thread/ff4930b953/?limit=25#9327


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/kp-googlesync/discussion/general/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      "An ounce of action is worth a ton of theory. Don't be too timid or
      squeamish about your actions." - Ralph Waldo Emerson
      “Don’t be the best. Be the only.” — Jerry Garcia

       
    • Scott McBride

      Scott McBride - 2020-07-02

      Greetings ~ As clear as your instructions seem to be for manually syncing
      my PC Keepass database with the Google Drive copy that my phone Keepass app
      uses ~ I cannot get it to work. The evidence I use for this is looking for
      a test record that I put in my PC's database to show up in my phone. I also
      compare the contents of any of my PC Keepass folders with my phone. The
      phone database is severely out of date.

      Your instructions are clear. I follow them and Google Drive indicates that
      the .kdbx file gets updated (judging by modified date). It seems that the
      phone app is not connected to Google Drive. Is that possible?

      If I cannot get keepass to sync between PC and phone, I will have to look
      for another password manager.

      Thank you

      On Thu, Apr 2, 2020 at 9:50 AM walterpg1v walterpg1v@users.sourceforge.net
      wrote:

      It's less convenient, and much more error prone, but you can synchronize
      "manually", without the plugin. Warning: take care and maybe make backups
      before trying this! The recipe below is basically how the plugin works; you
      are just doing it via other methods.

      1. Download the file from Drive to the machine running KeePass, taking
        care not to overwrite the existing database file on the machine.
      2. Start KeePass and open the database you want to synchronize with (
        not the one downloaded in step 1).
      3. Select File|Synchronize|Synchronize with File...., which pops a
        file-open dialog.
      4. Navigate to the folder where you saved the file in step 1, select
        it, click OK. KeePass will now synchronize the contents of both files.
      5. Upload the synchronized file back to Google Drive (you might have
        to delete the original file there first to prevent a duplication).

      There is a fix for the plugin in the works. It's actually available now in
      source code if you want to try and build & install it. If the merge request
      falls through, I plan to release it elsewhere at a later date.


      Can't authorize on Google even after existing fixes - "Allow" button
      grayed out
      https://sourceforge.net/p/kp-googlesync/discussion/general/thread/ff4930b953/?limit=25#9327


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/kp-googlesync/discussion/general/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      "An ounce of action is worth a ton of theory. Don't be too timid or
      squeamish about your actions." - Ralph Waldo Emerson
      “Don’t be the best. Be the only.” — Jerry Garcia

       
    • drmoshe

      drmoshe - 2020-07-20

      Thank you so much for the work that you have done.

      I was wondering if the "fix" had been implemented.
      I had just finished updating someone's KeePass and the Sync Plugin, and I was unable to sync using the OAuth 2.1 credentials.
      Google returned an insecure browser denial. (Strange consider my older version is still working.)

      Thank you again for all your efforts.

       
  • walterpg1v

    walterpg1v - 2020-07-03

    Re-reading my post I maybe should clarify steps 4 & 5. After the sync, save the database (I don't think it does this for you), then upload the database file to Drive, not the file you downloaded.

    Also, the phone app might not be cooperative. I have some experience with Keepass2Android. It has a "file handling" setting that checks for "external modifications" before saving its copy of the database. The default setting is "enabled", but that may not be the case elsewhere.

    If the phone app is sorted out, you might also want to try another solution to the general sync problem.

     
    • Uranium235

      Uranium235 - 2020-08-16

      Thanks for pickung up the project continuing it on GitHub with much needed improvemnts and updates, Walter. Very much appreciated!
      I don't have merge rights here and I guess drdi has abandoned this project for good. He almost had last time when I picked it up. Glad someone picked up the torch.

      Paul

       

      Last edit: Uranium235 2020-08-16

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.