Use this if:
Look elsewhere if:
league/oauth2-server or spatie/laravel-permission.For Executives: "This package lets us integrate OAuth2/OIDC authentication into our Laravel API gateway without building from scratch, cutting dev time by [X] weeks. It’s open-source (AGPL-3.0) and aligns with our Relay microservices strategy, reducing security risks while keeping costs low. Trade-off: Minimal maintenance risk due to archival status, but ideal for proof-of-concept or internal tools."
For Engineering: *"The dbp/relay-auth-bundle provides a pre-built OIDC bridge for Relay API Gateway in Laravel. Key benefits:
For Developers: *"If you’re tired of writing OAuth2 middleware from scratch, this bundle handles token validation, scopes, and Relay-specific routing. Example use case:
// Configure OIDC provider in config/relay_auth.php
$relayAuth->provider('https://your-oidc-server/.well-known/openid-configuration');
league/oauth2-server if you need more control."*How can I help you explore Laravel packages today?