Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Oauth Bundle Laravel Package

etcpasswd/oauth-bundle

A Symfony bundle that adds OAuth2 authentication to your security firewall, supporting providers like GitHub and Facebook, with multiple providers configurable at once. You still supply your own user provider.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

This is not a Laravel package — it is a Symfony2 bundle (circa 2011–2012), and that framing matters for the decision. The package predates Composer-native distribution (install instructions are git clone into vendor/bundles plus manual registerNamespaces), depends on Buzz, an HTTP client that has been abandoned, and is explicitly self-described as "still under development." Any decision it supports today is a reference decision, not an adoption decision.

What it can legitimately inform:

  • Where OAuth belongs in your architecture. The bundle's central idea is strong and still correct: implement OAuth as a security firewall, not as a pair of hand-rolled controllers. login_path and check_path are declared in security.yml and no controllers are written. That is the same separation of concerns you get today from HWIOAuthBundle, KnpUAuth2ClientBundle, or Symfony's native OAuth2 support — and the same reason Laravel's Socialite is thin and controller-light.
  • Build vs. buy for social/SSO login. This package is the historical "buy" answer for a problem that is now commodity. If your roadmap includes "Sign in with Google/GitHub/Okta," the correct 2025 framing is: buy a maintained integration, not a hand-rolled firewall listener — and definitely not a 13-year-old one.
  • Vendor and dependency risk modeling. Zero stars, zero dependents, readme-only maturity, and a transitive dependency on a dead HTTP client are a textbook supply-chain risk profile. Useful as an internal example when writing dependency-adoption criteria, especially for auth code where a vulnerability has outsized blast radius.
  • Legacy Symfony 2.x triage. If you maintain an old Symfony 2 application, this is a data point for why migrating auth off a custom firewall listener onto a supported bundle should be an explicit roadmap line item with a budget, not a background hope.

It does not support a feature decision, a prioritization call, or a "should we use this" vote in its current form.

When to Consider This Package

Consider it only in these narrow cases:

  • Archaeology / reference reading. You are designing an auth abstraction and want a small, readable example of a Symfony security factory wiring an external OAuth provider into a firewall. The security_factories.xml + firewall config pattern is educational, and the config surface (auth_provider, client_id, client_secret, uid, scope, login_path, check_path, failure_path) is a clean checklist of the parameters any OAuth integration must expose.
  • A frozen Symfony 2.0/2.1 codebase you cannot upgrade, where this bundle is already installed, vendored, and working — and where removing it costs more than the risk it carries. Even then, treat it as a known liability with an owner and a review date.
  • Comparing options. Reading it makes the case for the maintained alternative more concrete in a written evaluation.

Look elsewhere — decisively — when any of the following is true:

  • You are on Laravel. This package is not installable or functional there. The direct analogue is Laravel Socialite, with laravel/socialite plus an OAuth2 client/generic-provider package for non-standard providers. Do not attempt to port this bundle.
  • You are on modern Symfony. Use HWIOAuthBundle, KnpUOAuth2ClientBundle, or Symfony's own OAuth2 support with league/oauth2-client. All are Composer-installable, tested, and maintained.
  • Security-sensitive production traffic. This is unmaintained authentication code with no test suite and no maintainer, written against a since-superseded HTTP client. The absence of stars and dependents means no one is watching it for CVEs.
  • You need Composer, PSR-4 autoloading, or PHP 7/8. Fails on all three. The namespace registration pattern it documents no longer exists in modern Symfony loaders.
  • You need more than a redirect/login handshake — token refresh, PKCE, OIDC claims, provider-specific quirks beyond a simple uid: email mapping.
  • You need multi-provider support or an admin UI, neither of which is in scope here.

How to Pitch It (Stakeholders)

One-line summary: A historical Symfony2 OAuth login bundle that is unmaintained, undocumented beyond a README, unlisted in any dependency graph, and not applicable to our Laravel stack — we should not adopt it. We can, however, borrow its architectural pattern for free.

For executives: This is not a candidate for the build. It is a 2011–2012-era Symfony bundle published by an individual author, installed by manually cloning repositories and editing autoloader namespace files — a workflow that predates Composer. It has no stars, no dependents, no tests, and a hard dependency on an HTTP client that has been dead for years. It handles authentication, which is the single highest-consequence place to run abandoned code: a bug is a breach, not a defect. The cost of adopting it would be a permanent maintenance tax plus an uninsurable security exposure, in exchange for functionality we can obtain from maintained libraries at essentially zero cost. Recommendation: decline adoption; take the design idea, not the code.

For engineering: The bundle contributes one genuinely good idea — model OAuth as a security firewall with declarative login_path/check_path/failure_path, so no controllers are written. That is exactly what league/oauth2-client plus Symfony's OAuth2 support, or Laravel Socialite, gives us today with tests, Composer distribution, and a maintainer on the hook. Concretely: we lose nothing by skipping this package and building the login flow on a current, supported integration; we inherit a dead Buzz dependency and zero test coverage if we use it. If anyone wants the pattern as a study aid, the README is enough — we can read it without vendoring it.

Risk statement to carry forward: adoption would mean unmaintained auth code, no CVE response path, an EOL transitive HTTP client, and a namespace-loading model incompatible with anything we run. That is a "no" on technical merit, not on taste.

Suggested decision record: Status — rejected. Disposition — reference material for auth-layer design only. Next step — if social/SSO login is on the roadmap, scope a spike against Laravel Socialite (or league/oauth2-client if we are on Symfony) and estimate roughly one to two weeks for a multi-provider login flow with tests, which is the realistic cost of the "buy the maintained thing" path.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator