Security
How authxi protects sign-in
Sign-in is the front door to your apps. These are the rules authxi follows on every request.
The sign-in flow
- Authorization code flow with PKCE (S256). Required for browser and mobile apps, supported for all.
- state and nonce are checked on every sign-in, so a response can't be replayed or swapped.
- Standard OpenID Connect: no custom protocol for your app to get wrong.
Exact redirect URLs
- authxi returns only to callback URLs you registered, matched exactly. No wildcards.
- localhost is accepted only for apps marked as development.
- When the app or its redirect URL is wrong, the error shows on authxi's page instead of redirecting anywhere.
- The page to return to stays with your app and must be a path on your own site, so authxi is never an open redirect.
Short-lived, single-use codes
- Authorization codes work once, for 60 seconds.
- A sign-in has 10 minutes to finish.
- ID tokens are valid for 5 minutes. Your app starts its own session from them.
Google accounts
- Only Google accounts with a verified email can sign in.
- Domain rules check both the Google Workspace domain and the verified email address.
- People are linked by their Google account id, never by email, so a recycled address can't take over an account.
- authxi asks Google for openid, email and profile only.
Encrypted secrets
- Client secrets and API keys are shown once and stored only as hashes.
- Token signing keys and authenticator secrets are encrypted at rest (AES-256-GCM).
- Backup codes are stored hashed. Passkeys leave only a public key with us.
- Signing keys rotate on a schedule, with the next key published ahead of time.
Rate limits
- Every sign-in endpoint is rate limited per address, including the token endpoint.
- A two-step check fails after five wrong attempts.
- Every sign-in, failed or not, is in your sign-in log.
Hosted pages
- A strict Content Security Policy, and no framing by other sites.
- Session cookies are Secure, HttpOnly and SameSite=Lax, limited to the workspace's own host.
- Each workspace is its own issuer, with its own address, users and cookies.
Your dashboard
- Dashboard admins must use two-step verification.
- Roles for owners, admins, developers and viewers.
- An audit log of every change to settings, apps and users.
- Every query is scoped to your organization; one company can never read another's data.
Infrastructure
- All traffic goes through Cloudflare, with TLS and a web application firewall.
- Our servers accept no incoming web connections; Cloudflare reaches them through an outbound tunnel.
- The database is on a private network, with TLS, daily backups and point-in-time recovery.
Report a vulnerability
Found a security problem? Email us the steps to reproduce it, and give us time to fix it before you share it.