getodk / getodk/collect

Prompt user to change credentials when auth error happens in the background

Open
#3,983 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
789
Forks
1.4k
Avg merge
3d 10h
Merged PRs (30d)
16

Description

This already happens when checking for updates via Get Blank Forms and will also happen for background checks that happen with Match Exactly enabled.

**Acceptance**
- [ ] Given Previously Downloaded Only is enabled
When the automatic check happens
And there is an authentication error (401)
Then I see a notification with an error message
When I click on the notification
Then I am prompted to enter my credentials again on the Get Blank Form page

Contributor guide

Open the contributing guide

Research direction

Start with the existing Get Blank Forms behavior described in the issue and trace the automatic check when Previously Downloaded Only and Match Exactly are enabled. Verify the 401 path shows a notification, and that selecting it opens Get Blank Form with a prompt to re-enter credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
authentication, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.