Skip to content

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

  1. OAuth2 / OIDC Engine:
  2. Implements Authorization Code flow with PKCE (S256).
  3. Implements Resource Owner Password Credentials (ROPC) with password expiry verification.
  4. Issues RS256 signed JSON Web Tokens (JWT) containing enriched user profiles, realm designations, and impersonator claims.
  5. Dynamic RSA Key Rotation:
  6. Generates and persists RSA 2048/4096-bit keypairs encrypted with AES-GCM in Oracle DB.
  7. Rotates active keys transparently and serves public keys via JWKS endpoint (/.well-known/jwks.json).
  8. Multi-Realm Authentication:
  9. Internal Realm: Authenticates against corporate Active Directory / OpenLDAP via Spring LDAP.
  10. External Realm: Authenticates external citizens and conveyancers with database credentials or FIDO2 / WebAuthn Passkeys.
  11. Token Revocation & Impersonation:
  12. Publishes token revocation and session termination events to Redis Pub/Sub.
  13. Supports administrative impersonation with mandatory audit log trails.