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
Identity layer, part 1: foundations and session hardening (Phase 0) #458
Intent: prepare authentication, user records and sessions for single sign-on and provisioning, without changing how anyone logs in today.
Already done on dev-5.0.0: session id no longer in redirect URLs (e445eefa); session id regenerated at login (3d68dea5); Secure/HttpOnly/SameSite=Lax session cookie (c8b01906); lost password works again (c28135bd).
Split CAppUI::login() into a password authenticator, w2p_Auth_AccountResolver and w2p_Auth_SessionEstablisher; fileviewer.php uses the same path instead of its own copy.
Interfaces w2p_Interfaces_PasswordAuthenticator and w2p_Interfaces_FederatedProvider, value object w2p_Auth_Identity, and w2p_Auth_ProviderRegistry with sql and ldap providers. getAuth() and w2p_Authenticators_SQL/_LDAP stay as shims for one release. Remove w2p_Authenticators_PostNuke and its pn option.
Migrations: users.user_status, user_source, user_external_id, user_auth_epoch, user_last_login, user_allow_local_login; unique user_username (users.user_username has no unique index #438); tables identity_providers (the auth_method/ldap_* settings move here) and user_identities.
Activity