Security & residency architecture
RegionAuth separates a thin operator control plane from regional identity data planes. Enterprise SAML assertions, SCIM users/groups, and IdP certificates never leave the selected AWS region.
Data-flow diagram
Browser (dashboard / portal / your app)
│
│ HTTPS (client-side fetch only)
▼
Regional API ──► RDS Postgres in same region
sg.regionauth.com ap-southeast-1
in.regionauth.com ap-south-1
eu.regionauth.com eu-central-1
▲
│ SAML ACS / SCIM
Customer IdP (Okta / Entra / Google / Test IdP)
Vercel (app / portal / marketing)
→ static UI + Better Auth operator session cookies
→ does NOT SSR IdP metadata, SAML certs, or SCIM PIIControls
- XML signature validation, XXE rejection, assertion replay protection
- InResponseTo binding to single-use pending requests
- allowedDomains + allowedRedirectUris enforcement
- AES-256-GCM for secrets at rest; hashed API/portal/SCIM tokens
- Fail-closed cross-region database routing
- Rate limiting keyed on trusted proxy IP
Honest compliance wording
Hosted exclusively in ap-southeast-1 / ap-south-1 / eu-central-1 — designed to support PDPA, DPDP, and GDPR residency requirements. We do not claim blanket "GDPR Certified" or regulator attestation badges without an independent audit report.