Lens / Aaikyam Auth

Engineering decisions

Key decisions

• Started with managed IdP (Authentik) for speed, then built purpose-built IAM with tenant model and permission catalogue (akym-auth/apps/iam-api/README.md features list).

• Observability built in from the start: AsyncLocalStorage request context, trace/request ID correlation, OTel collector (apps/iam-api/otel-collector-config.yml).

• Standardised API response envelope and strict validation (README).