jeffersongoncalves/filament-saml2
Add SAML2 single sign-on to Filament panels with this plugin. Connect your identity provider, configure SP and IdP settings, and let users authenticate securely through SAML2 in Laravel Filament admin apps.
laravel-saml2 library. What this package contributes is the Filament-specific glue: a login button, panel routing, and user provisioning. That is a small, well-bounded build — a reasonable "buy/borrow" call rather than a six-week protocol project.saml2_identities table decouples external identities from your users table, which supports federated users, mixed local+SSO users, and a future "link multiple IdPs to one account" path. NameID / e-mail / auto-create resolution policies are product decisions (JIT provisioning vs. invite-only) that this package exposes as configuration rather than code.en/pt_BR/es translations reduce friction for LatAm/European rollouts; additional locales are a cheap contribution.Adopt when:
Look elsewhere or build in-house when:
laravel-saml2 library before committing; these are commonly outside the scope of thin wrappers.Assessment note on 3.0.0 specifically: this is a compatibility release, not a feature release — feature parity with 1.0.0 and 2.0.0 is explicitly stated. Migration risk is therefore concentrated in the Filament v4→v5 upgrade itself, not in this package. Pin ^3.0 and verify panel provider registration and the saml2_identities migration against your existing schema before rollout.
For executives: Enterprise buyers routinely require SAML-based single sign-on before they will sign. This package lets us deliver that on our Filament admin surfaces without a custom protocol build — it handles the IdP handshake, routes each customer's users to the right panel, and auto-provisions accounts on first login. It also supports multiple IdPs in one deployment, which means we can onboard several enterprise customers without standing up separate environments. Commercially, it converts an SSO checkbox from a multi-sprint project into a configuration exercise.
For engineering: A thin Filament adapter over jeffersongoncalves/laravel-saml2. We get a per-tenant login button, RelayState-based panel resolution, a polymorphic saml2_identities table, per-panel options, and en/pt_BR/es translations. Version 3.0.0 is the Filament v5 line and is feature-identical to the v3 and v4 lines, so this is a dependency-alignment bump — no new behavior to regression-test beyond the framework upgrade. It is a single-maintainer community package, so: pin the version, run our standard dependency and security review, and confirm the underlying library's signature-validation and certificate-rotation handling before we depend on it for production auth. If we need SCIM, single logout, or group-to-role mapping, plan to build those ourselves or evaluate a commercial IdP integration instead.
How can I help you explore Laravel packages today?