@@ -13,15 +13,15 @@ that case is accepted and focuses on _how_.
1313
1414## Summary of the change
1515
16- | Concern | Today (two origins) | After (one origin) |
17- | --- | --- | --- |
18- | Auth UI location | ` https://auth.pds.example/oauth/authorize ` , ` /auth/* ` , ` /account/* ` | ` https://pds.example/auth/* ` (path-prefixed) |
19- | ` authorization_endpoint ` (AS metadata) | ` https://auth.<host>/oauth/authorize ` | ` https://<host>/auth/oauth/authorize ` |
20- | ` sec-fetch-site ` on ` /oauth/authorize ` | ` same-site ` , rewritten to ` same-origin ` (item 5) | naturally ` same-origin ` — rewrite ** deleted** |
21- | Device-session cookies | ` Domain=<parent> ` so sibling subdomain can read them (items 14–15) | host-only on the single origin — ** plumbing deleted** |
22- | Auth session cookie | ` magic_account_session ` / better-auth ` session ` on ` auth.<host> ` | same names, path-scoped ` /auth ` on ` <host> ` |
23- | CSP | per-route in each service (unchanged approach) | per-route, unchanged |
24- | Deploy units | two services | still two processes, one origin (Caddy path-routes) — or merged later |
16+ | Concern | Today (two origins) | After (one origin) |
17+ | -------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------ --- |
18+ | Auth UI location | ` https://auth.pds.example/oauth/authorize ` , ` /auth/* ` , ` /account/* ` | ` https://pds.example/auth/* ` (path-prefixed) |
19+ | ` authorization_endpoint ` (AS metadata) | ` https://auth.<host>/oauth/authorize ` | ` https://<host>/auth/oauth/authorize ` |
20+ | ` sec-fetch-site ` on ` /oauth/authorize ` | ` same-site ` , rewritten to ` same-origin ` (item 5) | naturally ` same-origin ` — rewrite ** deleted** |
21+ | Device-session cookies | ` Domain=<parent> ` so sibling subdomain can read them (items 14–15) | host-only on the single origin — ** plumbing deleted** |
22+ | Auth session cookie | ` magic_account_session ` / better-auth ` session ` on ` auth.<host> ` | same names, path-scoped ` /auth ` on ` <host> ` |
23+ | CSP | per-route in each service (unchanged approach) | per-route, unchanged |
24+ | Deploy units | two services | still two processes, one origin (Caddy path-routes) — or merged later |
2525
2626The routing model is exactly pds-gatekeeper's: ** Caddy routes by path** , sending
2727` /auth/* ` (and the auth-owned ` /oauth/authorize ` , ` /account/* ` ) to the
0 commit comments