Security Advanced Auth - v1.0.0
Security Advanced Auth Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
[1.0.0] - 2026-05-18
Added
- Initial release of the standalone Security Advanced Auth package, extracted from
artisanpack-ui/security1.x as part of the Security 2.0 package split. - WebAuthn / FIDO2 —
WebAuthnManager(577 lines) with registration + authentication options generation, response verification, and credential CRUD. Supports passkeys, security keys, and platform authenticators via theWebAuthnInterfacecontract. - SSO —
SsoManager(302 lines) supporting SAML 2.0, OIDC, and LDAP.SsoConfigurationmodel for per-IdP definitions. SP metadata endpoint, SSO + SLO flows.SsoUservalue object. - Social authentication —
SocialAuthManager(363 lines) with 8 shipped OAuth providers (AppleProvider,FacebookProvider,GitHubProvider,GoogleProvider,LinkedInProvider,MicrosoftProvider,GenericOidcProvider, plusAbstractOAuth2ProviderandAbstractOidcProviderbase classes for custom providers).SocialUservalue object,SocialIdentitymodel for link storage, account-linking helpers. - Biometric authentication —
BiometricManager(196 lines) with the pluggableBiometricProviderInterface.WebAuthnBiometricProviderships as the default implementation. - Device fingerprinting —
DeviceFingerprintServicefor fingerprint generation,UserDevicemodel for known-device tracking,DeviceFingerprintmodel for raw fingerprint storage. - Suspicious activity detection —
SuspiciousActivityServicecovering 11 auth-flow patterns (brute_force,impossible_travel,anomalous_login,proxy_detected,tor_detected,datacenter_ip,multiple_failures,device_change,unusual_time,session_hijacking,credential_stuffing). - Livewire components (5):
WebAuthnCredentialsManager,BiometricManager,DeviceManager,SocialAccountsManager,SuspiciousActivityList. All with shipped Blade views in plain HTML + Tailwind, plus view-render smoke tests. - HTTP controllers (3):
SocialAuthController,SsoController,WebAuthnController. Thin wrappers that delegate to the corresponding manager. - Routes (
routes/auth.php): 12 endpoints covering social OAuth (redirect / callback / unlink), SSO (login / callback / logout / logout-callback / metadata), and WebAuthn (registration options / verify, authentication options / verify). Configurable prefix + per-group middleware. - Eloquent models (7):
DeviceFingerprint,SocialIdentity,SsoConfiguration,SsoIdentity,SuspiciousActivity,UserDevice,WebAuthnCredential. - Migrations (7): full schema for the models above.
- Service contracts (6):
BiometricProviderInterface,DeviceFingerprintInterface,SocialProviderInterface,SsoProviderInterface,SuspiciousActivityDetectorInterface,WebAuthnInterface. SecurityAdvancedAuthFacade andsecurity_advanced_auth()helper.
Fixed
- Closes #12 — wrote the 5 missing Livewire Blade views; without them every Livewire render threw
View not foundin production. - Closes #13 — shipped
routes/auth.phpwith the 12 callback endpoints plus the 3 thin HTTP controllers. Without these, social OAuth / SSO / WebAuthn flows had no out-of-the-box wiring and consumers had to write controllers from scratch. SuspiciousActivityListreferenced model constants that don't exist (TYPE_UNUSUAL_LOCATION,TYPE_UNUSUAL_DEVICE, etc.). Replaced with the actual constants the model defines.- Service provider now publishes the views (tag:
security-advanced-auth-views) so consumers can customize them. - Added
LivewireServiceProviderto the test base case so Livewire component tests can mount. - Author email normalized to
support@artisanpackui.dev. - License switched from GPL-3.0-or-later to MIT to match the rest of the ecosystem.
Removed
- This package contains the enterprise auth content previously bundled in
artisanpack-ui/security1.x. See theartisanpack-ui/securityUPGRADE guide for migration instructions from 1.x.