Files
accountkit/test
CatoandClaude Opus 5.5 569d7bcfa2 Trust a product's further hosts in the origin check (#46)
* Trust a product's further hosts in the origin check

Hirnli serves sign-in on its platform host and on tenant hosts. With one
pinned origin, every tenant-host sign-in was refused as INVALID_ORIGIN.
site.trustedOrigins lists the others; each keeps its own host-only cookie,
and mail links and passkeys still use site.url.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

* Let a product pass its further hosts as a lookup

Hirnli keeps its tenant hosts as rows (org_domains), so a list fixed at
startup would refuse a host added later until a restart. A failed lookup
trusts only site.url.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-29 10:05:05 +01:00
..