composer.json for supported Laravel versions (e.g., 8.x, 9.x). If the product uses an older/new Laravel version, compatibility risks arise.league/oauth2-server)?/api/auth/login) with OIDC.composer.json constraints (e.g., ^9.0). If using Laravel 10+, expect issues.openssl, json).docs/README.md..env for OIDC endpoints (e.g., AUTH_OIDC_AUTH_SERVER_URL).composer require dbp/relay-auth-bundle
php artisan vendor:publish --provider="DBP\RelayAuthBundle\RelayAuthBundle"
app/Http/Kernel.php:
'protected' => [
// ...
\DBP\RelayAuthBundle\Http\Middleware\AuthenticateOidc::class,
],
/oauth/authorize, /oauth/token).README and docs may leave gaps in troubleshooting.league/oauth2-client) for breaking changes.Illuminate\Cache\RateLimiter).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| OIDC provider outage | Auth failures for all users | Implement fallback auth (e.g., API keys). |
| Token validation errors | False rejections | Log errors; add admin override for tokens. |
| Relay gateway downtime | Broken auth flows | Cache tokens locally with TTL. |
| Bundle security vulnerability | Exploitable auth bypass | Isolate in a microservice; monitor CVE feeds. |
| AGPL compliance violation | Legal risk if using in SaaS | Evaluate alternatives (e.g., MIT-licensed libraries). |
How can I help you explore Laravel packages today?