Skip to content

fix(auth): send credentials only to BFF-backed origins - #31

Merged
MathiasReichardt merged 2 commits into
mainfrom
fix/cors-check-no-bff
Oct 2, 2026
Merged

MathiasReichardt merged 2 commits into
mainfrom
fix/cors-check-no-bff

Conversation

@MathiasReichardt

Copy link
Copy Markdown
Contributor
  • Limit withCredentials to origins whose /bff/session probe succeeded
    • Restores access to APIs answering with Access-Control-Allow-Origin: *
  • Probe BFF session once per origin before the first navigation request
  • Refresh session after navigation only for known BFF origins
  • Add e2e tests for wildcard-CORS API and BFF cookie forwarding

- Limit withCredentials to origins whose /bff/session probe succeeded
  - Restores access to APIs answering with Access-Control-Allow-Origin: *
- Probe BFF session once per origin before the first navigation request
- Refresh session after navigation only for known BFF origins
- Add e2e tests for wildcard-CORS API and BFF cookie forwarding
Comment thread src/app/hypermedia-view/auth.service.ts Resolved
@MathiasReichardt
MathiasReichardt merged commit 3c545a2 into main Oct 2, 2026
2 checks passed
@park-jasper
park-jasper deleted the fix/cors-check-no-bff branch October 2, 2026 07:20
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