You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Validate and Harden External UAuthHub Deployment Scenarios #177
UltimateAuth supports centralized authentication through UAuthHub, with client applications and Resource APIs potentially deployed on separate origins or domains.
While integrated and local development scenarios are supported, external deployment scenarios require further validation, particularly when browser cookie restrictions and cross-origin credential delivery are involved.
Scope
Deployment Scenarios
Validate the following configurations:
Same-origin deployment.
Cross-origin, same-site deployment using subdomains.
Cross-site deployment using independent domains.
Multiple client applications sharing a centralized UAuthHub.
Independently deployed Resource APIs.
Authentication and Credential Delivery
Verify direct login and PKCE-based authentication.
Validate cross-origin credential delivery and response header exposure.
Verify cookie domain, SameSite, Secure, and HttpOnly settings.
Investigate third-party cookie restrictions and browser privacy policies.
Ensure credentials remain associated with the initiating application and device.
Session and Token Lifecycle
Verify initial authentication recovery after application reload.
Validate refresh token delivery and rotation.
Verify logout and session revocation across deployment boundaries.
Ensure Resource API authentication works with the supported credential transport mechanisms.
Security
Review CORS and allowed origin configuration.
Verify antiforgery protection across origins.
Validate PKCE handoff and return URL restrictions.
Ensure tokens are never exposed through URLs or unintended origins.
Investigate secure alternatives where cross-site cookies are unavailable.
Acceptance Criteria
Supported external deployment scenarios are explicitly defined and tested.
Login, validation, refresh, recovery, and logout behave consistently.
Browser cookie restrictions do not cause silent authentication failures.
Unsupported configurations fail predictably with actionable diagnostics.
Security guarantees are preserved across deployment boundaries.
Activity