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
Oauthserverbundle

Oauthserverbundle Laravel Package

ops-talent/oauthserverbundle

An OAuth 2.0 server bundle for Symfony applications, providing authorization server endpoints, token issuance, client and scope management, and grant type handling so you can secure APIs and add standards-based single sign-on without building the protocol layer yourself.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about Oauthserverbundle
Can I install ops-talent/oauthserverbundle in a Laravel application with Composer?
Technically Composer will resolve it, but the package is registered as a symfony-bundle and follows Symfony bundle conventions such as a Bundle class, DependencyInjection extension, and bundle config tree. Laravel's package discovery, service container, and middleware pipeline do not understand those conventions, so nothing will wire itself up automatically. You would have to manually boot Symfony components inside Laravel, which is a large amount of custom glue for an authentication layer. For a Laravel app the practical answer is no, use Laravel Passport instead.
What is ops-talent/oauthserverbundle and what does it actually do?
It is an OAuth 2.0 authorization server bundle for Symfony applications, providing authorization and token endpoints, client and scope management, and grant type handling. The description indicates it is an 'oauthserver modification', meaning it is a fork or repackaging of an existing Symfony OAuth server bundle, likely derived from FOSOAuthServerBundle or a League OAuth2 bridge. Its purpose is to let a Symfony app issue and validate OAuth tokens without implementing the protocol layer itself.
Is ops-talent/oauthserverbundle a Laravel package or a Symfony bundle?
It is a Symfony bundle, not a Laravel package. The ...Bundle namespace suffix and the symfony-bundle Composer type are explicit signals, and the architecture depends on Symfony's DependencyInjection container, EventDispatcher, and HttpKernel. That distinction is the single most important fact when evaluating it for a Laravel codebase, because it means there is no clean integration path. It only fits conventionally inside a Symfony application.
Which Laravel versions does ops-talent/oauthserverbundle support?
None in any meaningful sense. The package targets Symfony, so there is no Laravel service provider, no facade, no published config or migrations, and no compatibility matrix against Laravel releases. Any Laravel version claim would be unsupported by the package itself. If you need OAuth 2.0 in Laravel, choose a package built for Laravel's container and guard system.
What is the Laravel equivalent of this Symfony OAuth 2.0 server bundle?
Laravel Passport is the first-party answer and is built on league/oauth2-server. It ships migrations, client and token models, guards, middleware, scopes, and artisan commands out of the box, so you get a supported upgrade path and security patching. If you need something framework-agnostic, use league/oauth2-server directly and write a thin adapter. Both options give you a maintained core instead of an unmaintained fork.
Is ops-talent/oauthserverbundle safe to use in production for authentication?
The risk profile is high. It has zero stars, zero dependents, no release history, and no visible external maintainer, which means no CVE response path for a component that issues and validates credentials. Because it is a fork, its value and its danger both live in the diff against upstream, and without a readable changelog you cannot audit whether token validation was weakened. In authentication infrastructure, an unmaintained fork is categorically different from an unmaintained helper library.
Does ops-talent/oauthserverbundle support authorization code, client credentials, refresh tokens, and PKCE?
Grant support depends entirely on the upstream version the fork was based on, and that base version is not documented in the repository. Since Symfony and League OAuth2 have added and changed grant handling over time, PKCE and refresh behavior may or may not be present or patched. Before relying on any specific flow, you would need to inspect the vendored code and confirm the base version. That uncertainty is exactly the kind of thing you should not accept in a token issuer.
How do I test OAuth 2.0 flows if I keep this bundle in a Laravel codebase?
You would have to test through the embedded Symfony kernel rather than Laravel's HTTP test helpers, which means booting two frameworks in your test suite and asserting against Symfony request/response objects. Feature tests using Laravel's actingAs and Passport helpers would not apply. This adds meaningful complexity to every auth test and makes it harder to cover edge cases like token expiry, scope enforcement, and refresh rotation. It is a strong argument for replacing the dependency rather than bridging it.
Can I run a Symfony kernel inside Laravel just to use this OAuth bundle?
It is possible in principle but not recommended. You would bootstrap a Symfony kernel alongside the Laravel application, route OAuth endpoints to it, and maintain container bridging, config, and logging across two frameworks. That is disproportionate complexity for an auth layer and creates a permanent maintenance burden that no one on the team owns. If this is the plan, the cheaper and safer path is migrating the requirement to Laravel Passport.
What should I ask before adopting ops-talent/oauthserverbundle, or how do I migrate away from it?
Ask what specific behavior this fork provides that Laravel Passport or current league/oauth2-server does not, who owns the ops-talent vendor internally, what the fork's base version is, and whether it has been patched against advisories published since. If it is already running in production, identify which flows it serves before touching anything. To migrate, install Laravel Passport, map existing clients and scopes to Passport models, and reissue tokens, since existing tokens cannot be carried across implementations. The migration is typically measured in days, not weeks.
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.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect