Module: cis-auth¶
cis-auth is the centralized Identity Provider and OAuth 2.1 / OpenID Connect 1.0 Authorization Server for the CIS ecosystem.
Key Capabilities¶
- OAuth2 / OIDC Engine:
- Implements Authorization Code flow with PKCE (
S256). - Implements Resource Owner Password Credentials (ROPC) with password expiry verification.
- Issues RS256 signed JSON Web Tokens (JWT) containing enriched user profiles, realm designations, and impersonator claims.
- Dynamic RSA Key Rotation:
- Generates and persists RSA 2048/4096-bit keypairs encrypted with AES-GCM in Oracle DB.
- Rotates active keys transparently and serves public keys via JWKS endpoint (
/.well-known/jwks.json). - Multi-Realm Authentication:
- Internal Realm: Authenticates against corporate Active Directory / OpenLDAP via Spring LDAP.
- External Realm: Authenticates external citizens and conveyancers with database credentials or FIDO2 / WebAuthn Passkeys.
- Token Revocation & Impersonation:
- Publishes token revocation and session termination events to Redis Pub/Sub.
- Supports administrative impersonation with mandatory audit log trails.