PhilippC / PhilippC/keepass2android

[BUG] OneDrive authentication fails

Open
#3,243 29 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.2k
Forks
478
Avg merge
1h 4m
Merged PRs (30d)
2

Description

Checks
  • I have read the FAQ section, searched the open issues, and still think this is a new bug.
Describe the bug you encountered:

I have my KeePass database on OneDrive, so I can use it on my laptop and in my phone and stay synchronized.
All of a sudden - that is: after automatic upgrade of KeePass2Android - the file won't open anymore and no error message is shown.
When trying to open it as a new database, when I select OneDrive, I get the error "authenticating not successful".
I don't know if the grey display of the OneDrive icon has anything to do with it; only the Google Drive icons have color now.

Describe what you expected to happen:

I should be able to access my OneDrive folder/file. A couple of days ago it still worked (in a previous version of KeePass2Android). Or else the app should not have been automatically upgraded...

What version of Keepass2Android are you using?

1.15-rc1

Which version of Android are you on?

12

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the OneDrive authentication failure on Android 12 with KeePass2Android 1.15-rc1, comparing it with the previous version if available. Trace the OneDrive sign-in flow and use the reported missing error message as a diagnostic clue. Done means an existing KeePass database can again be opened from OneDrive, with a useful error shown when authentication fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.