willdurand/oauth-server-bundle
Symfony bundle that turns your application into an OAuth 2 server. It integrates the oauth2-server-php library with Doctrine-backed storage for clients, access tokens, refresh tokens, and authorization codes, plus Symfony Security integration for protecting your APIs and resources.
Consider (narrowly):
Look elsewhere (default):
league/oauth2-server, Laravel Passport, or a managed IdP).league/oauth1-client or a Guzzle subscriber instead.Executives: This is not a package we adopt. It's a 31-star, archived Symfony2 library implementing a protocol (OAuth 1.0) that the industry moved off of years ago. Its value to us is as a scoping and conformance reference, not a shipping component. Recommendation: do not add it to the stack. If a customer contractually requires OAuth 1.0 server support, treat that as a bounded legacy-compatibility workstream — ideally terminated at the API gateway — with a named owner and a migration path to OAuth 2.0/OpenID Connect. Budget it as maintenance, not roadmap.
Engineering: Use it as a reading reference for RFC 5849 edge cases (signature base string, encoding, nonce handling). Do not vendor it as-is. If a legacy requirement forces adoption, fork and pin it, wrap it behind our own interface, add conformance and replay-protection tests, and document the exit criteria up front — assume we own all future security fixes.
How can I help you explore Laravel packages today?