silasjoisten/sonata-oauth2-login-bundle
Symfony bundle that adds OAuth2 login to Sonata Admin, letting users authenticate through external providers instead of local credentials. Configure your OAuth2 provider and integrate single sign-on into the Sonata admin panel with minimal setup.
league/oauth2-client and Symfony security. The "buy" (adopt) option is cheap here in engineering time; the "build" option is only justified if you need custom identity providers or flows the bundle does not expose.twig ^2.0 support. There is no new capability, no new provider, no UX change. Product decisions are unchanged; this is purely a maintenance-floor signal for engineering.Consider adoption when all of the following hold:
^2.0 is no longer supported. Twig 2 has been end-of-life for some time, so this should be uncontroversial for maintained projects, but it is a hard floor change that lands in a minor release.league/oauth2-client providers; you are not depending on the bundle for exotic flows.Look elsewhere when:
knpUOAuth2ClientBundle, HWIOAuthBundle, or the underlying league/oauth2-client directly. Adding Sonata just to get login is the wrong dependency direction.For executives: This is a small open-source add-on that lets administrators sign in to our back-office using an existing corporate or social identity provider instead of a separate password. The business case is reduced credential sprawl and fewer password-reset tickets for internal tooling. Cost is essentially zero in licensing; the real cost is a few days of integration work plus ongoing dependency hygiene. The 6.1.0 release does not add features — it only modernizes build tooling and raises the minimum Twig version to 3.x. If we adopt, we should treat it as a low-risk, low-criticality dependency and avoid building strategic identity plans on top of it.
For engineering: Two changes in 6.1.0: GitHub Actions dependency updates (no runtime impact) and removal of Twig ^2.0 support (runtime-relevant). The Twig 2 drop is technically a breaking constraint shipped in a minor version — treat your composer.json constraints accordingly. Since Twig 2 is EOL, the practical upgrade risk is near zero, but confirm no transitive dependency still resolves to Twig 2 before bumping. There are no code-level API changes, no deprecations announced, and no migrations required beyond the version constraint. Given the single-maintainer profile and sparse release history, pin to a known-good tag, add it to your dependency-review watchlist, and avoid extending it without vendoring the patch.
How can I help you explore Laravel packages today?