-
Notifications
You must be signed in to change notification settings - Fork 4
Heartbeat + clean-exit so slow sign-ins recover instead of stranding the user #154
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
Merged
Merged
Changes from 9 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
ba8f268
test(e2e): repro OAuth dead-ends when PAR dies before user completes …
aspiers 64c50f7
docs(design): PAR expiry, heartbeats, and clean-exit strategy
aspiers b1fc940
feat(auth-service): keep PAR alive while user sits on OTP / recovery …
aspiers 339aba3
test(e2e): cover @par-heartbeat liveness end-to-end
aspiers 2e4d327
feat(auth-service,pds-core): redirect to OAuth client on sign-in fail…
aspiers 5183b7b
docs(design): record heartbeat + clean-exit landed in the design doc
aspiers 8bcb344
fix(demo): mark /client-metadata.json route dynamic so EPDS_CLIENT_TH…
aspiers 9fb0e69
fix: address PR #154 review feedback (CodeRabbit + Copilot + SonarQub…
aspiers 3b0ec50
fix(demo): default EPDS_CLIENT_THEME to amber so client-branding e2e …
aspiers b6f3ba9
test(e2e): rename "the user can try again" to "the OTP entry boxes ar…
aspiers fcab1c7
fix(auth-service): forward no_heartbeat through recovery Verify form too
aspiers f3766a9
test(auth-service,shared): bring new heartbeat / clean-exit code to 1…
aspiers 241807a
fix: address SonarCloud quality-gate findings on PR #154
aspiers 25f37aa
test(auth-service): unit-test buildEpdsCallbackUrl + ratchet down fun…
aspiers 7650f14
fix: address third-round PR #154 review feedback
aspiers 4bc113d
test(auth-service): replace `q.get(name)!` with a typed helper to cle…
aspiers 26151cd
refactor(shared): extract resolveStartOverHref to fix Sonar dup-block…
aspiers 3d31876
fix(auth-service): inline "Send a new code" action on expired-OTP error
aspiers 03958c5
test(e2e): allow inline action button alongside the OTP error message
aspiers 86cd60f
fix(auth-service): don't offer Resend when it cannot complete the sig…
aspiers 160f20d
test(auth-service): extract heartbeat-router test harness + replace R…
aspiers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| 'ePDS': minor | ||
| --- | ||
|
|
||
| Sign-in pages no longer strand users on a "session expired" dead end. | ||
|
|
||
| **Affects:** End users | ||
|
|
||
| **End users:** if your sign-in does time out (e.g. you closed the tab and came back later, or your wait was longer than the page-level keepalive could cover), you no longer land on a static "Session expired, please start over" page with no way forward. Instead you are redirected back to the app you were signing in to, which can show its own retry button. If something prevents that bounce-back (the app's metadata is unreachable, the originating client is unknown), the error page now offers a "Return to sign in" button instead of being text-only. Closes #151; substantially addresses #150 by replacing the dead-end at `/auth/complete` with a clean redirect. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| 'ePDS': minor | ||
| --- | ||
|
|
||
| Slow sign-ins are less likely to time out before you finish entering your code. | ||
|
|
||
| **Affects:** End users | ||
|
|
||
| **End users:** if you take a few minutes to find your sign-in code in your inbox before entering it, you will no longer be bounced to a "session expired" page when you submit it. Closing the tab or walking away for a long stretch can still expire the flow, in which case the existing error pages still apply — but reading email at human speed should not. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.