Changelog
A summary of major releases and features added to UniAuth.
June 2026 — Multi-language SDKs, Delegated Admin, Push MFA
A source release adding SDK implementations, organization administration, push MFA, consent, optional geolocation, and hardening work. Source presence does not establish public package publication, operated readiness, an SLA, or support deadlines.
- PHP SDK —
uniauth-id/oauth2-clientis the intended package identifier. Public Packagist publication is not established; source and focused smoke tests are insdk/uniauth-php/tests/. - Python SDK —
uniauth-idis the intended PyPI distribution; Python imports it as uniauth. Public PyPI publication is not established. The source has one runtime dependency (cryptography) for RS256; hatchling and pytest files are source/build evidence only. - Go SDK —
github.com/1MrC1/uniauth/sdk/uniauth-go.It is a declared module path; public tag, module-proxy, and checksum availability are not established. The source targets Go 1.21+ with zero dependencies — std-lib only, including a hand-rolledmath/big-based JWK→RSA converter for RS256. 9 tests passing. - Delegated Admin panel —
/org/[id]/admin/*scoped toorganization_members.role = 'owner'. Per-org dashboard, member management, OAuth client editor, and a policy editor with five enforced knobs:requireMfa,maxSessionMinutes,allowedSigninMethods,allowedEmailDomains,ipAllowlistCidrs(most-restrictive-wins when a user is in multiple orgs). - Push MFA — full pipeline: VAPID web-push, service worker, device enrollment, challenge/respond UI, and wiring into both password and social-login MFA verification. Sessions issued via push carry
amr: ["mfa","push"]. - Persistent consent — per-client "always allow" preference exposed in
/account/connected-apps. OAuth/authorizeskips the consent screen for clients the user has previously trusted. - OAuth step-up —
acr_valuesforwarded through consent and login. Clients can demand a specific assurance level (e.g.aal2) and UniAuth will re-prompt for a second factor even if the session is already authenticated. - Real GeoLite2 integration — optional MaxMind GeoLite2-City lookup in
lib/geo-access.ts. Drop the.mmdbfile in place and QR sign-in approvals show "Lagos, NG" instead of "Datacenter." Graceful fallback when the DB is absent. - Auto-migration runner — drop a
scripts/migration-*.sqlfile and it applies on the next server start. No morepsql -fby hand.npm run migrate:statusshows pending vs. applied. - Admin user detail page —
/admin/users/[id]showing push devices, passkeys, org memberships, and recent sessions in one view. - Sign-in tabs — the login page now leads with a Password / QR / Passkey tab strip so the QR and passkey paths aren't buried.
- SLA template — states that no public SLA is in force. Numeric uptime, credit, recovery, or response commitments require a separately executed agreement.
- Responsible-disclosure policy — is a best-effort disclosure policy without a public acknowledgement, remediation, or advisory-publication deadline.
- Two-layer maintenance mode — maintenance-mode source exists. Deployment topology, cache timing, proxy configuration, and operating policy are intentionally not published here.
SDK v2.0 — Modern SDK
Complete SDK modernization with JWKS-based ID token verification, pluggable storage, cross-tab sync, and React SDK composition. SDK v1.0 is deprecated and no longer supported.
- RS256 ID token verification — ID tokens are now verified against the JWKS endpoint by default. Signatures are validated using Web Crypto API (RS256). Key rotation is handled automatically via kid mismatch detection.
- Pluggable storage — Choose between
memory, orsessionStorage, orlocalStoragefor token persistence. Custom adapters supported via theTokenStorageinterface. - Cross-tab auth sync — Login, logout, and token refresh events are synchronized across browser tabs via BroadcastChannel (localStorage fallback for older browsers).
- Organization support — Pass
organizationto scope authorization requests to a specific org tenant. - ACR/LoA claims — Request specific authentication assurance levels via
acrValues. ID token claims includeacr,amr,sid, andgroups. - Network resilience — Optional
fetchWithRetrywith exponential backoff and jitter for 5xx/network errors. - React SDK rewrite — Provider rewritten from 272 to 117 lines by composing the JS SDK class. New hooks:
useAccessToken(),useOrganization(),useIdTokenClaims(). - CJS + ESM + IIFE outputs — Repository builds produce CommonJS, ES Module, IIFE, CJS, and ESM candidates. Source/build output is not npm, CDN, or download publication; verify the exact external artifact.
- SDK v1.0 archived — v1.0 is deprecated and will not receive updates. v1.0 lacked ID token signature verification, had no cross-tab sync, and the React SDK duplicated 200+ lines of PKCE/OAuth logic instead of composing the JS SDK.
v3.0 — Source hardening
A source-hardening release with broader tests and mobile admin work. SDK registry publication and production-readiness are separate evidence and are not established by this changelog.
- 8,800+ automated tests across 267 files — Broader tests for authentication, OAuth/OIDC protocol behavior, 2FA, WebAuthn, admin operations, and SDK source. Test presence is not official conformance or production-readiness evidence.
- Redis rate limiting — Distributed rate limiting via Redis for multi-instance deployments, with automatic fallback to in-memory stores.
- Mobile-optimized admin panel — Responsive admin interface with touch-friendly navigation, collapsible sidebar, and mobile-first table layouts.
- OIDC conformance — Additional OpenID Connect source paths and tests; not an OpenID Foundation certification result or proof for every optional profile.
- Documentation site — Complete documentation with guides for authentication, OAuth2/OIDC, SDKs, admin, security, and API reference.
v2.0 — Enterprise Features
Enterprise-grade identity management with SAML, SCIM provisioning, advanced OAuth2 extensions, webhooks, analytics, and admin impersonation.
- SAML 2.0 Identity Provider — SAML IdP source for SP-initiated SSO, signed assertions, metadata, and attribute mapping. Full SLO fan-out and blanket SP interoperability are not established.
- SCIM 2.0 Provisioning — Automated user and group provisioning via the SCIM protocol for enterprise directory sync (Azure AD, Okta, etc.).
- DPoP (Demonstrating Proof-of-Possession) — Sender-constrained access tokens to prevent token theft and replay attacks.
- PAR (Pushed Authorization Requests) — Server-side authorization request storage for enhanced security and confidentiality.
- Webhooks — HMAC-signed lifecycle event delivery with best-effort retries; not transactional and not a real-time delivery guarantee.
- Analytics dashboard — Point-in-time admin reports for session activity, registrations, 2FA totals, retained consent rows, and recorded login events, with explicit collection limits.
- Admin impersonation — Secure impersonation flow allowing administrators to sign in as any user for debugging, with full audit logging.
- Device authorization flow — OAuth 2.0 Device Authorization Grant (RFC 8628) for input-constrained devices (smart TVs, CLI tools).
- Dynamic client registration — OAuth 2.0 Dynamic Client Registration Protocol (RFC 7591) for automated client onboarding.
- Backchannel logout — Limited-beta OpenID Connect back-channel logout-token delivery on a best-effort basis; coordinated termination is not guaranteed.
v1.0 — Core Identity Provider
The foundational release establishing UniAuth as a complete, security-first identity provider with OAuth2/OIDC authorization server capabilities.
- Email/password authentication — Argon2id password hashing, zxcvbn strength validation, and HaveIBeenPwned breach detection. Production password-hash import and transparent JIT login upgrade are unavailable. Standard profile import sends no onboarding message; imported users need a separately initiated supported password reset or magic-link sign-in, or a separately implemented and validated credential bridge.
- Social login — Google and GitHub OAuth with PKCE (S256 code challenge), encrypted token storage, and automatic account linking.
- Multi-factor authentication — TOTP (authenticator apps), email OTP, and SMS OTP (via Twilio) with multi-method support and default method selection.
- WebAuthn / Passkeys — Passwordless authentication with direct attestation, Conditional UI (autofill), and hardware key support.
- OAuth2/OIDC Authorization Server — Full OAuth 2.0 and OpenID Connect provider with authorization code flow, PKCE, refresh token rotation, family-based replay detection, and pairwise subject identifiers.
- Post-quantum cryptography — Optional ML-DSA-44 session signatures when signing material is available, plus ML-KEM-768 rotation infrastructure. Legacy or failure-path sessions may be unsigned; no end-to-end or universal future-security guarantee is made.
- Encryption at rest — AES-256-GCM encryption for TOTP secrets, OTP codes, OAuth tokens, and PQC private keys.
- Progressive account lockout — Escalating lockout durations (1 min to 1 hr) based on failed login attempts.
- Session security — 24-hour inactivity timeout, max 10 concurrent sessions, fingerprint-based hijack detection, and password-change revocation.
- Threat detection — Statistical login risk scoring based on IP history, user agent, time-of-day patterns, and burst detection.
- Backup codes — One-time-use recovery codes with SHA-256 hashing for 2FA bypass scenarios.
- OIDC standard claims — Full user profile with 12 extended columns following OpenID Connect Core 1.0 Section 5.1.
- Admin panel — User management, session monitoring, activity logs, role-based access control, system settings, and OAuth client administration.
- Developer console — Self-service OAuth app registration (up to 10 apps per user) with client credentials management.
- Data retention — Automated cleanup of expired sessions (30d), tokens (7d), OTPs (24h), and activity logs (1yr).