Repository navigation
Releases
v0.2.0-preview.4
UltimateAuth v0.2.0-preview.4
This release marks a major milestone in UltimateAuth's authentication architecture, introducing PureJwt authentication, configurable device limits, improved client-side token management, and .NET 11 support.
Highlights
- PureJwt Authentication: Introduces stateless JWT access tokens with stateful refresh token lifecycle management.
- Unified Authentication Architecture: PureOpaque, Hybrid, SemiHybrid, and PureJwt now coexist within a unified, flow-based authentication model.
- Device Limits: Configure total and per-platform device limits, with support for rejecting new devices or evicting existing sessions.
- Client-Side Token Management: Improved access token handling for header-based authentication transport.
- .NET 11 Support: Adds support for .NET 11, ASP.NET Core 11, and EF Core 11 while maintaining compatibility with .NET 8, 9, and 10.
- Client Reliability: Improved JavaScript interop exception handling and cancellation token propagation.
This release brings UltimateAuth closer to a stable v0.2.0 release, providing a flexible foundation for both standalone applications and centralized authentication architectures.
What's Changed
- feat(reliability): Add Device Limits by @mckaragoz in #171
- feat(production): Implement PureJwt Authentication & Unify Authentication Architecture by @mckaragoz in #172
- feat(client): Manage Access Token When Transport with Header by @mckaragoz in #175
- .NET 11 Support by @mckaragoz in #178
Full Changelog: v0.2.0-preview.3...v0.2.0-preview.4
v 0.2.0-preview.3
UltimateAuth v0.2.0-preview.3
Security Hardening & Production Readiness
UltimateAuth v0.2.0-preview.3 is a major milestone toward the first production-ready stable release, v0.2.0.
This preview focuses on strengthening authentication security, improving operational resilience, and refining the developer experience for real-world .NET applications.
Rather than simply adding features, this release addresses important security and reliability concerns across login flows, authorization, credential handling, persistence, and resource management.
Highlights
1. Stronger Authentication Security by Default
Authentication failure responses now use safer defaults to reduce account enumeration risks.
- Generic login failure responses by default.
- Reduced exposure of account existence, lockout state, and remaining attempts.
- Dummy password verification to reduce timing differences between authentication paths.
- Hardened return URL validation to prevent untrusted redirects.
- Stronger login preview receipt binding and atomic single-use consumption.
These protections strengthen authentication flows without changing the unified client API or successful login behavior.
2. Safer Blazor Login Forms
UAuthLoginForm now reads credentials directly from native browser form inputs rather than passing passwords through Blazor component parameters.
This reduces unnecessary password exposure in component state and Blazor Server communication.
The component also supports a complete built-in login form while preserving flexible custom layouts.
Breaking change: The Identifier and Secret component parameters have been removed. Custom forms must provide inputs named Identifier and Secret.
3. Account Status-Aware Authorization
Protected ASP.NET Core endpoints now enforce user account status by default.
- Active users retain access according to their authorization policies.
- Suspended users are denied access to ordinary protected HTTP endpoints.
- Explicit exceptions are supported through
[UAuthAllowInactive]. - Resource APIs validate account status through trusted Hub session validation.
- Missing or invalid account status fails closed.
This closes an important gap between successful authentication and authorization to protected resources.
4. Authentication Lockout & Recovery Workflows
Authentication lockout is now a manageable security state.
The unified Client SDK supports inspecting and clearing account-level and credential-factor lockouts through authorized administrative operations.
Successful password recovery also clears the corresponding password-factor lockout without affecting unrelated authentication security state.
These capabilities are integrated into Identity Lab and the Blazor samples.
5. Built-in Concurrency Protection
Expensive password hashing operations are now protected by configurable concurrency limits.
- Shared global password hashing capacity.
- Dedicated limits for login and credential management.
- CPU-aware defaults and bounded queues.
- Controlled HTTP 429 responses during capacity exhaustion.
- Improved resilience against resource exhaustion.
The default Argon2 parallelism for newly generated password hashes is now 1. Existing hashes remain compatible and do not require password resets.
6. Bounded Authentication Artifact Storage
The built-in in-memory artifact store now includes periodic expiration cleanup and capacity limits.
- Automatic removal of expired authentication artifacts.
- Configurable per-process capacity.
- Preservation of atomic, single-use artifact consumption.
- Controlled HTTP 503 responses when capacity is exhausted.
This prevents indefinite retention of expired login preview receipts and PKCE artifacts.
7. Persistence and Identity Lab Reliability
Authentication security state persistence has been strengthened with improved concurrency handling and PostgreSQL uniqueness enforcement.
Identity Lab management operations now use authenticated HTTP request contexts, ensuring consistent session, device, CSRF, and authorization validation across interactive Blazor workflows.
The release also includes expanded PostgreSQL integration and security regression testing.
Upgrading from Earlier Previews
This release includes intentional API and behavior changes.
Important migration considerations:
UAuthLoginFormno longer acceptsIdentifierandSecretparameters.IncludeFailureDetailsnow defaults tofalse.- Protected ASP.NET Core HTTP endpoints enforce user account status.
- Concurrency limiting is enabled by default and may return HTTP 429 under load.
- The built-in authentication artifact store now has a capacity limit.
- PostgreSQL authentication security state changes may require database migration and duplicate-record cleanup.
- Return URL and login preview receipt validation are stricter.
Review the v0.2.0 Migration Guide before upgrading existing applications.
Framework Compatibility
This preview targets:
- .NET 8
- .NET 9
- .NET 10
.NET 11 compatibility is planned for the v0.2.0 release, subject to dependency compatibility and validation.
Production Readiness
v0.2.0-preview.3 represents an important step toward production readiness.
The release strengthens core authentication security, authorization enforcement, operational resource protection, and persistence reliability while preserving UltimateAuth's unified, developer-first architecture.
This remains a prerelease. Production adoption should be based on application-specific testing, deployment requirements, and security evaluation.
The upcoming v0.2.0 stable release is targeted as UltimateAuth's first production-ready stable milestone, with expanded authentication modes and final release validation.
What's Changed
- Update GitHub Workflows by @mckaragoz in #153
- fix(identitylab): use authenticated HTTP context for Blazor management operations by @mckaragoz in #154
- Fix open redirect validation in authentication flows by @mckaragoz in #158
- refactor(blazor): use native form inputs for login credentials in UAuthLoginForm by @mckaragoz in #159
- fix(security): harden login failure responses and authentication state persistence by @mckaragoz in #160
- fix(security): enforce user status in ASP.NET Core authorization by @mckaragoz in #163
- feat(security): Add Dummy Password Verification and Concurrency Limiting by @mckaragoz in #164
- fix(security): Enforce Login Preview Receipt Binding and Single-Use Consumption by @mckaragoz in #165
- fix(security): Bound In-Memory Auth Artifacts and Clean Up Expired Entries by @mckaragoz in #166
- feat(authentication): Implement Authentication Unlock and Recovery Workflows by @mckaragoz in #167
- Update 0.2.0-preview.3 by @mckaragoz in #168
Full Changelog: v0.2.0-preview.2...v0.2.0-preview.3
v 0.2.0-preview.2
UltimateAuth v0.2.0-preview.2
UltimateAuth v0.2.0-preview.2 is a major step forward in security, authentication reliability, and developer experience.
This release introduces three major security capabilities — CSRF Protection, Rate Limiting, and Password Policy & History — alongside significant improvements to authorization, user management, session handling, Blazor integration, and Identity Lab.
Each of these security capabilities represents a substantial addition to the framework, designed to make secure authentication easier to implement without sacrificing flexibility or control.
Major Features
CSRF Protection
UltimateAuth now provides integrated antiforgery protection for cookie-based authentication flows.
- Server-side antiforgery token generation and validation.
- Automatic antiforgery integration with the UltimateAuth browser client.
- Protection for sensitive authentication and session-management operations.
- Support for Embedded, Integrated, and External Hub deployments.
- Configurable antiforgery endpoints and cookie policies.
- Additional security regression tests covering missing and forged tokens.
Standard UltimateAuth browser integrations handle antiforgery automatically, while custom clients retain explicit control.
Rate Limiting
Built-in endpoint rate limiting is now available using ASP.NET Core's native rate-limiting infrastructure.
- Sensitive, Standard, and Frequent endpoint categories.
- Configurable limits and endpoint-specific overrides.
- Shared login and verification budgets to reduce brute-force and enumeration risks.
- Independent protection for refresh, validation, and logout operations.
- Support for application-defined rate-limiting policies.
- Automatic middleware integration through
UseUltimateAuthWithAspNetCore(). - Compatibility with trusted reverse-proxy configurations.
Rate limiting is designed to provide sensible defaults while allowing applications to retain ownership of their security policies.
Password Policy & History
UltimateAuth introduces configurable password policies and password-history support in its reference credentials implementation.
- Configurable password security requirements.
- Standard password policy enabled by default.
- Server-side validation for password creation, changes, and resets.
- Optional password-history enforcement to prevent password reuse.
- Persistence support for password history.
- Structured validation errors for client integrations.
Password history is optional and disabled by default, allowing developers to enable it according to their application's requirements.
Additional Improvements
Authorization
- Asynchronous authorization evaluation through
DecideAsync. - Improved support for custom authorization policies and invariants.
- Explicit authorization decisions returned by
CheckAsync. - Improved integration for applications requiring asynchronous policy evaluation.
Users & Profiles
- Configurable limits on user identifiers.
- Additional profile field and metadata validation.
- Improved consistency across reference persistence implementations.
- Expanded validation and regression coverage.
Sessions & Authentication
- Additional session and device validation hardening.
- Improvements to authentication flow reliability.
- Stronger security checks and regression coverage.
- Continued refinement of session lifecycle behavior.
Blazor & Client Integration
- Improved login form submission handling.
- Protection against duplicate login submissions.
- Better support for custom browser integrations.
- Continued improvements to the unified UltimateAuth client experience.
Identity Lab
Identity Lab continues to evolve as an interactive environment for exploring UltimateAuth.
- Improved login experience and lockout feedback.
- Enhanced session diagnostics.
- Expanded authorization and sandbox-management functionality.
- Refined dashboard navigation and sidebar presentation.
- Additional integration tests and page-level coverage.
Documentation & Migration
- Expanded security and integration documentation.
- Dedicated guidance for CSRF protection, rate limiting, and password policies.
- Redesigned migration overview with version-specific impact classifications.
- Updated migration guidance for v0.1.4 and the upcoming v0.2.0 release.
Upgrading
This is a prerelease version intended for early adoption, integration testing, and developer feedback.
Applications upgrading from earlier versions should review the migration guide, particularly when using custom authorization policies, browser bridges, user lifecycle integrations, or persistence configurations.
Migration Impact: Medium (Provisional)
📖 [Migration Guide](https://ultimateauth.com/docs/migration/v0.2.0)
📚 [Documentation](https://ultimateauth.com/docs)
🚀 What's Next?
Development toward v0.2.0 continues with a focus on security, stability, integration quality, and developer experience.
The preview series provides an opportunity to validate the new capabilities in real-world applications before the stable release.
Feedback, bug reports, and contributions are welcome.
Thank you for supporting UltimateAuth!
What's Changed
- feat(users): add configurable identifier limits and Identity Lab capacity indicator by @mckaragoz in #129
- feat(users): enforce profile field and metadata safety limits by @mckaragoz in #130
- feat(sessions): expose session count in chain summaries by @mckaragoz in #131
- test(identity-lab): add critical service workflow regression coverage by @mckaragoz in #132
- test(identity-lab): add comprehensive bUnit page render coverage by @mckaragoz in #133
- feat: add built-in rate limiting and client HTTP 429 handling by @mckaragoz in #134
- feat(client): support optional navigation after logout by @mckaragoz in #135
- feat: Add Password Policy and Password History by @mckaragoz in #136
- docs: Fix Broken Links by @mckaragoz in #137
- Identity Lab Launch by @mckaragoz in #138
- fix(blazor): Prevent file URI origin resolution on Linux by @mckaragoz in #139
- feat(docs): showcase Identity Lab and enhance landing page experience by @mckaragoz in #143
- test: Add CSRF regression coverage and update endpoint classification by @mckaragoz in #144
- Fix UAuthUrlBuilder when Tenant Specified by @mckaragoz in #145
- Modernize Dependencies, Test Infrastructure and CI Workflows by @mckaragoz in #146
- Enforce Device Binding in Session Validation by @mckaragoz in #147
- Fix External Hub Antiforgery Cookies and Strengthen CSRF Regression Tests by @mckaragoz in #148
- Improve Identity Lab Login UX and Sidebar Footer by @mckaragoz in #149
Full Changelog: v0.2.0-preview.1...v0.2.0-preview.2
v 0.1.4
UltimateAuth v0.1.4 — Security Update
UltimateAuth v0.1.4 introduces Cross-Site Request Forgery (CSRF) protection for authentication operations, strengthening security for cookie-based authentication flows.
Security Improvements
- Added antiforgery validation for security-sensitive authentication endpoints.
- Introduced a dedicated antiforgery token endpoint.
- Integrated CSRF token handling into Blazor client requests and form submissions.
- Improved session resolution to ensure security checks use the effective authentication configuration.
- Added security regression tests covering CSRF validation and protected authentication flows.
Compatibility Notes
This update includes changes to the ISessionIdResolver and IBrowserUAuthBridge interfaces.
Standard UltimateAuth integrations should not require application code changes. Applications using custom implementations of these interfaces may need to update their implementations.
Upgrading
Upgrading to v0.1.4 is recommended for all v0.1.x users.
This release focuses on security hardening and compatibility with the existing v0.1 architecture. No new authentication modes or domain features are introduced.
What's Next?
Development continues on UltimateAuth v0.2.0-preview.2, with further improvements to the framework, Blazor integration, and documentation.
Thank you for supporting UltimateAuth!
Full Changelog: v0.1.3...v0.1.4
v 0.2.0-preview.1
UltimateAuth v0.2.0-preview.1
The first preview of UltimateAuth v0.2.0 introduces significant improvements to authorization, client APIs, documentation, and overall framework reliability.
This release also completes the initial development and security validation of Identity Lab, our upcoming interactive authentication and authorization showcase.
Highlights
Advanced Authorization
Authorization is becoming more flexible, expressive, and application-friendly.
- Async authorization policies: Access policies and authorization authorities now support asynchronous evaluation, enabling database-backed and context-aware authorization decisions.
- Self-service permission inspection: Applications can inspect the current user's permissions through a dedicated API.
- Structured authorization results: Authorization checks now return explicit decisions instead of relying solely on HTTP status codes.
- Trusted actor roles: Access policies can evaluate trusted actor roles directly from
AccessContext.
Unified Client Experience
Introduced a unified ResourceRequest API for accessing protected resources across Blazor Server and WebAssembly.
This brings UltimateAuth closer to its goal of providing a consistent authentication and resource-access experience across different .NET application models.
Blazor samples have also been consolidated to share more components and demonstrate cross-platform integration patterns.
Users & Identifier Improvements
- Added batch user retrieval with target-aware authorization.
- Improved identifier uniqueness consistency.
- Fixed identifier existence checks to account for soft-deleted identifiers whose values remain reserved.
Identity Lab — Development Complete, Public Release Coming Soon
The initial Identity Lab implementation is complete, including:
- Interactive authentication and account management.
- Sandbox-based user management.
- Authorization Playground.
- Session and authentication diagnostics.
- Security hardening and integration tests.
Identity Lab is not publicly available yet. Its public launch is planned for v0.2.0-preview.2.
Documentation & Developer Experience
Documentation has been substantially expanded and reorganized.
Highlights include:
- Improved documentation website navigation and responsive design.
- New authorization how-to guides.
- Migration guides and practical integration examples.
- Expanded Blazor authorization samples.
- Improvements to open-source project readiness and compliance.
Reliability & Testing
- Expanded security and integration testing for Identity Lab.
- Improved regression coverage for identifier persistence behavior.
- Separated Identity Lab coverage reporting from framework coverage to provide clearer quality metrics.
What's Changed
- docs: expand documentation and improve docs website UX by @mckaragoz in #78
- refactor(samples): consolidate shared components across Blazor samples by @mckaragoz in #81
- docs: revamp content and improve documentation UI by @mckaragoz in #82
- Improve open-source project readiness and compliance by @mckaragoz in #84
- docs: add authorization how-to and migration guides by @mckaragoz in #89
- test(samples): add Blazor-native authorization examples by @mckaragoz in #90
- fix(docs): improve responsive layout and navigation by @mckaragoz in #91
- New App: Identity Lab as UltimateAuth Live Sandbox Showcase (Part 1 - Design) by @mckaragoz in #93
- New App: Identity Lab Functionality (Part 2) by @mckaragoz in #94
- fix(authorization): return structured results from CheckAsync by @mckaragoz in #105
- feat: add async access policy and invariant evaluation by @mckaragoz in #106
- feat: add async authentication authority and policy evaluation by @mckaragoz in #107
- Expose trusted actor roles in AccessContext for policy evaluation by @mckaragoz in #108
- docs: add guide for defining application authorization policies by @mckaragoz in #109
- feat(client): add unified ResourceRequest API for protected resources by @mckaragoz in #110
- feat(users): Add batch user retrieval with target-aware authorization by @mckaragoz in #113
- feat(authorization): add self-service permission inspection API by @mckaragoz in #114
- Identity Lab: Security Hardening and Audit Fixes (Part 3) by @mckaragoz in #115
- Identity Lab: UI Polish, Authorization Playground & Diagnostics by @mckaragoz in #118
- test(identity-lab): Add security and integration test suite by @mckaragoz in #124
- Separate Identity Lab coverage from framework reporting by @mckaragoz in #125
- Fix identifier uniqueness consistency across persistence stores by @mckaragoz in #127
📦 Release Information
Version: 0.2.0-preview.1
Status: Pre-release
This is an early preview of the upcoming UltimateAuth v0.2.0 release. APIs and behavior may continue to evolve before the stable release.
Full Changelog: v0.1.3...v0.2.0-preview.1
v 0.1.3
UltimateAuth v0.1.3
This patch release fixes EF Core transaction handling issues affecting user deletion and refresh token persistence.
Bug Fixes
- Fixed user deletion failures caused by session revocation outside the required execution scope.
- Ensured user deletion and session revocation participate in atomic transactions.
- Fixed refresh token store execution when an existing EF Core transaction is active.
- Added regression tests for transaction participation and rollback behavior.
Compatibility
- No breaking changes.
- No public API changes.
- Fully backward compatible with v0.1.x.
Full Changelog: v0.1.2...v0.1.3
v 0.1.2
🛠️ Bug Fixes
- Fixed password changes failing with Entity Framework Core due to transaction conflicts.
- Ensured atomic execution of credential changes, password resets, and session revocation.
- Improved EF Core transaction handling and rollback reliability.
- Added regression tests for cross-store transaction consistency.
🔒 Security & Compatibility
This release addresses a functional reliability issue and does not fix any known security vulnerabilities. No breaking changes to public APIs or configuration are introduced. Existing integrations remain compatible, and no migration is required.
Full Changelog: v0.1.1...v0.1.2
v 0.1.1
UltimateAuth v0.1.1
This maintenance release improves Blazor authorization enforcement and consistency.
Improvements
- Enforces
[UAuthAuthorize]at the routing layer, before protected pages are instantiated. - Adds support for role and permission match modes (
Category,Any,All). - Improves interoperability with ASP.NET Core
[Authorize]. - Provides consistent authorization evaluation for routes and
UAuthStateView. - Introduces session-aware authorization through
RequireActive.
Migration
Most applications using the built-in UAuthApp router require no changes.
Applications with custom routers or overrides of authorization-related methods in UAuthComponentBase may require updates.
See the [v0.1.1 Migration Guide](https://ultimateauth.com/docs/migration/v0.1.1).
What's Changed
- fix(blazor): backport route authorization improvements to v0.1.1 by @mckaragoz in #88
Full Changelog: v0.1.0...v0.1.1
v 0.1.0
UltimateAuth v0.1.0 — First Stable Release
We're excited to announce the first stable release of UltimateAuth, a modern, unified, open-source and extensible auth framework for .NET.
This release establishes the foundation of UltimateAuth, bringing together session management, cookie and token-based authentication, authorization, credential and user management, and a unified approach to authentication across different application architectures.
With support for .NET 8, 9, and 10, v0.1.0 focuses on security, API consistency, reliability, and developer experience. It also establishes a stable baseline for the Client API and lays the groundwork for future authentication modes and advanced capabilities.
Documentation: https://ultimateauth.com/
What's Changed
Full Changelog: 0.1.0-rc.3...v0.1.0
What's Changed
- Hardening Tests by @mckaragoz in #51
- Update Dependencies by @mckaragoz in #52
- Product Preparation by @mckaragoz in #53
- Docs Builder Fix by @mckaragoz in #55
- Docs Improvement With CI by @mckaragoz in #57
- Integration Test Enhancement by @mckaragoz in #59
- Atomic User Processes by @mckaragoz in #60
- EfCore Integration Tests by @mckaragoz in #61
- Fix Credential Reset Code Can be Accessible On Client With HTTP Result by @mckaragoz in #64
- Fix Identifier Ownership Checks and Verification Trust Boundaries by @mckaragoz in #65
- Final Arrangements for First Stable Release by @mckaragoz in #66
- Fix Credential & User Flows by @mckaragoz in #67
- Fix Exception Flows by @mckaragoz in #68
- Fix Refresh Flow 1 by @mckaragoz in #69
- Fix Sliding Expiration on Refresh Flow by @mckaragoz in #70
- Fix Refresh Flow 3 by @mckaragoz in #71
- Fix Endpoint Contracts by @mckaragoz in #72
- Public API Naming Consistency & Fix Missing Namespaces by @mckaragoz in #73
- Fix Several Refresh Issues by @mckaragoz in #74
- Update v 0.1.0 by @mckaragoz in #75
- Update v 0.1.0 With Docs Sample Page by @mckaragoz in #76
Full Changelog: 0.1.0-rc.3...v0.1.0
v 0.1.0-rc.3
What's Changed
- Breaking Change UAuthStateView Component: Change MatchAll to MatchMode Parameter by @mckaragoz in #50
- Fix Expired Chain Doesn't Rotate on Successful Login by @mckaragoz in #49
Full Changelog: 0.1.0-rc.2...0.1.0-rc.3