Kio-gdrive: using custom google.provider works, but access tokens expire or go missing after a few days

Sadly, replacing approval_prompt=force with prompt=consent didn’t prevent the account from breaking after a week or so. I still had to remove/re-add the account. Not looking forward to doing this every week or two. UGH!

For the record, here’s what I did to get it working again:

  1. Open System Settings.
  2. Select Online Accounts.
  3. Remove my Google account (red “X” button).
  4. Re-add my Google account.
  5. Rename my account (pencil button) to match what it was before. (This will keep any existing URLs/shortcuts/favorites valid.)

One thing I noticed is that after I did this, I had to open a new Dolphin window to access the drive. Windows that were already open still gave the token expiration error.

1 Like