ajgarlag / openid-connect-provider-bundle
OpenID Connect provider Symfony bundle
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/ajgarlag/openid-connect-provider-bundle
Requires
- php: ^8.1
- ext-openssl: *
- league/oauth2-server-bundle: ^1
- steverhoades/oauth2-openid-connect-server: ^3.0.1
- symfony/twig-bundle: ^6.4|^7.2
Requires (Dev)
- ext-pdo: *
- ext-pdo_sqlite: *
- dg/bypass-finals: ^1.9
- doctrine/doctrine-bundle: ^2.11.0
- doctrine/orm: ^2.14|^3.0
- nyholm/symfony-bundle-test: ^3.0
- php-cs-fixer/shim: ^3.38
- phpstan/phpstan: ^2
- phpstan/phpstan-symfony: 2
- rector/rector: ^2.1
- symfony/browser-kit: ^6.4|^7.2
- symfony/phpunit-bridge: ^7.3
This package is auto-updated.
Last update: 2025-10-20 18:10:54 UTC
README
AjgarlagOpenIDConnectProviderBundle is a Symfony bundle that integrates an OpenID Connect Provider (OP) into Symfony applications, extending the capabilities of the league/oauth2-server-bundle to provides endpoints and utilities to implement a standards-compliant OpenID Connect Provider.
Quick Start
-
Install the bundle using Composer:
composer require ajgarlag/openid-connect-provider-bundle
-
Setup the
league/oauth2-server-bundle
, which is required for this bundle to function properly. Follow the README file to complete the setup. -
To enable OpenID Connect Discovery and RP Initiated Logout support, add the file
config/routes/ajgarlag_openid_connect_provider.yaml
:ajgarlag_openid_connect_provider: resource: '@AjgarlagOpenIDConnectProviderBundle/config/routes.php' type: php
-
Tweak the configuration in your
config/packages/ajgarlag_openid_connect_provider.yaml
if needed. These are the default values:ajgarlag_openid_connect_provider: discovery: authorization_endpoint_route: 'oauth2_authorize' token_endpoint_route: 'oauth2_token' jwks_endpoint_route: 'openid_connect_jwks' end_session_endpoint_route: 'openid_connect_end_session' end_session: cancel_logout_default_path: '/'
Documentation
TBD
License
See the LICENSE file for details