MAGNEXIS IDENTITY / OPERATIONS

From prototype to
trusted infrastructure.

The production architecture, release checks, and deployment boundary for an independent Sign in with Magnexis OpenID Connect service.

PRODUCTION REFERENCE / NOT DEPLOYED
Production launch is gated. The source includes a production-oriented Keycloak configuration, but the service is not publicly online. Identity requires its own domain, hosted infrastructure, secrets, administrator protections, verified email and tested recovery. The Netlify website does not issue tokens.

A separate identity issuer

Magnexis uses a two-service architecture. The public corporate and developer website runs as a static Netlify deployment. A separately operated Keycloak service provides OpenID Connect authorization, token issuance, key discovery, session lifecycle, and account management. An independent PostgreSQL database persists identity records. HTTPS is terminated at the identity ingress.

COMPANY + DOCShttps://magnexis.netlify.app/
PRODUCTION ISSUER (EXAMPLE ONLY)https://auth.your-domain.tld/realms/magnexis
DISCOVERY{issuer}/.well-known/openid-configuration

What the production source includes

  • Isolated services. Keycloak and PostgreSQL are available only on an internal Docker network; only the HTTPS reverse proxy binds public ports.
  • Stable issuer configuration. Keycloak starts in production mode with a configured, strict HTTPS hostname and trusted proxy headers.
  • Safer first import. The production realm has no test clients, requires email verification, and defaults registration and password recovery to disabled until the mail system is tested.
  • Security verification. A CLI smoke test checks discovery metadata, exact issuer identity, authorization code support, S256 PKCE, HTTPS endpoints and published JWKs.
  • Branded login. Magnexis’s official emblem and login theme remain isolated from the corporate website assets.

Operator sequence

Before launch, choose an owned identity hostname and server with persistent storage. Create exact DNS records, strong private secrets, automated backups, hardened ingress and restricted administrator access. Configure and verify transactional mail, consent, MFA, incident monitoring, security patching, privacy notices, and account recovery. Then provision one reviewed client per application using exact HTTPS callbacks and S256 PKCE.

SHELL · SELF-HOSTED OPERATOR REFERENCE
cd identity/provider
cp .env.production.example .env
# Replace every placeholder with real values. chmod 600 .env
# Review ingress restrictions, backups, email and DNS first.
docker compose -f compose.production.yaml --env-file .env config --quiet
# Start ONLY after completing server hardening and admin restrictions.
docker compose -f compose.production.yaml --env-file .env up -d
node scripts/verify-issuer.mjs https://auth.your-domain.tld/realms/magnexis

Third-party client onboarding

Third-party sites should use established OpenID Connect clients. Browser applications use Authorization Code with PKCE and must never ship client secrets. Confidential server applications safeguard credentials on the server. The public SDK is a wrapper around an established OIDC client library; it is not the identity issuer. Dynamic client registration and unreviewed signups remain disabled during the prelaunch phase.

Netlify’s login is different. Logging into a Netlify site with Netlify Identity is not the same as running a general-purpose OpenID Connect provider for independent applications. Sign in with Magnexis is designed as a separately hosted federation service.
GO-LIVE / RELEASE GATES

Trust is an operational requirement.

Each gate requires working infrastructure and live validation, not merely source code.

INFRASTRUCTURE

Control the domain and service

Stable issuer, TLS certificates, protected operator interfaces, monitored uptime, durable state and tested restoration.

IDENTITY LIFECYCLE

Make recovery trustworthy

Verified email, robust MFA, administrative safeguards, account closure and measured abuse controls.

INTEROPERABILITY

Test the full protocol

OIDC discovery, PKCE S256, consent, redirect matching, key rotation, token validation, expiry, revocation and logout.