Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Inconsistent behavior between two identical setups #149

Open
2 tasks
mdolenga opened this issue Sep 13, 2021 · 3 comments
Open
2 tasks

[QUESTION] Inconsistent behavior between two identical setups #149

mdolenga opened this issue Sep 13, 2021 · 3 comments
Assignees
Labels

Comments

@mdolenga
Copy link

Describe your question
I have two identical setups on Windows 10 machines. On both machines, I login with a non-domain joined local account. I use the same password file on both machines (and an Android phone). One one of the Windows machines, I am prompted for my OneDrive credentials each time I launch the application; on the other machine, I am not (other than the first time). I cannot see any difference in the application settings. What might cause this inconsistency?

Versions (please complete the following information):

  • KeePass: 2.49
  • KeePass OneDriveSync Plugin: 2.1.2.1

Authentication method

  • OneDrive

KeePass database synced with

  • OneDrive Personal
@KoenZomers
Copy link
Owner

Good question. It basically means that when KeePass starts the plugin, it cannot find a refresh token that works anymore thus prompts for logging in again. Now there could be various reasons why this would be the case. Nice starting point for troubleshooting would be to have a look at the machine that keeps asking to log in each time and go to:

C:\Users\<username>\AppData\Roaming\KeePass

There should be a file called KeePass.config.xml in there. Open it in notepad. Scroll down in it until you hit a section that reads:

<Custom> <Item> <Key>KeeOneDrive</Key> <Value>

Check if it contains a RefreshToken and let me know if this is the case. Don't paste the contents of it here!

@mdolenga
Copy link
Author

Hello - thanks for the quick reply. The "good" machine does in fact have a fully specified token and other fields. The machine which is continually prompting for a password contains this:

"RefreshToken":null

@KoenZomers
Copy link
Owner

Interesting. It means that it cannot write to that location for some reason. Not sure why. Could be all kinds of reasons. If this is still an issue for you, you could try Process Monitor to try to find out what is blocking the plugin from being able to write to that file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants