Skip to content

feat (UN-2562): handle Cloudflare challenge detection in HTTP responses#343

Open
d-tashchi-upstars wants to merge 5 commits into
mainfrom
UN-2562
Open

feat (UN-2562): handle Cloudflare challenge detection in HTTP responses#343
d-tashchi-upstars wants to merge 5 commits into
mainfrom
UN-2562

Conversation

@d-tashchi-upstars
Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 24, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 42.06% 3714 / 8830
🔵 Statements 42.06% 3714 / 8830
🔵 Functions 71.97% 244 / 339
🔵 Branches 93.56% 988 / 1056
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/plugins/EventBus.ts 100% 100% 100% 100%
Generated in workflow #787 for commit 8bc5b39 by the Vitest Coverage Report Action

… and tests

- Added `challengeContext` to `signIn` requests.
- Introduced handling for Cloudflare challenge context in HTTP and auth services.
- Updated tests to cover new challenge handling logic.
…uth flow

- Updated `createLogin` to support explicit `challengeReason` and `challengeReturnTo` from form data.
- Enhanced test coverage for registration auto-login behavior with challenge context.
- Moved `CloudflareChallengeReason` and related interfaces to a dedicated model file.
- Updated references across services to use the new shared model.
- Removed duplicate type definitions from `http.ts`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants