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.
What this release is
filament-saml2 3.0.0 is the first release of the package targeting Filament v5. It is explicitly feature-parity with 1.0.0 (Filament v3) and 2.0.0 (Filament v4).jeffersongoncalves/laravel-saml2, which does the actual SAML SP work. We are therefore adopting two packages, one of which is a single-maintainer dependency chain.Architecture fit
saml2_identities polymorphic table, panel-level options, and config-driven IdP metadata.saml2_identities is the right model: it lets users be attached to different authenticatable models (e.g. User, Admin, Partner) without schema divergence. It also means identity linkage is a first-class data concern we must own — this is our data, not the vendor's.Integration feasibility
Technical risk
NotBefore/NotOnOrAfter with clock skew, InResponseTo correlation and replay protection, encryption of assertions, signed AuthnRequests, and the handling of IdP-initiated vs SP-initiated flows. The release notes say nothing about any of this. We must verify rather than assume.Key questions to put to the maintainer / our own spike
saml2_identities rows be reconciled/backfilled if we later migrate to a different SP library? (Exit cost.)Stack fit
jeffersongoncalves/filament-saml2:"^3.0". Note the caret constraint will pull 3.x minors automatically — acceptable for patches, but we should pin to a reviewed commit/tag in production and gate upgrades through CI.saml2_identities; this becomes a first-class table in our schema and should be treated as owned data with its own retention/audit story, not an opaque vendor table..env files in the repo.Migration path
Compatibility
filament-saml2 major.en/pt_BR/es. If we serve other locales, expect to contribute or override strings — small but worth budgeting.openssl, dom, sometimes xmlsec) in our container images and CI, not just locally.Sequencing
Maintenance
saml2_identities table will accumulate rows; we need retention, cleanup, and a plan for orphaned identities when users are deleted (polymorphic relations do not cascade automatically — confirm).Support
Scaling
Failure modes (ranked by likelihood × impact)
Ramp-up
composer require create the impression that this is a low-stakes change — it sits on the authentication path and inherits the availability expectations of login.How can I help you explore Laravel packages today?