ajgarlag/openid-connect-provider-bundle

OpenID Connect provider Symfony bundle

Maintainers

πŸ‘ ajgarlag

Package info

github.com/ajgarlag/openid-connect-provider-bundle

Type:symfony-bundle

pkg:composer/ajgarlag/openid-connect-provider-bundle

Statistics

Installs: 2 933

Dependents: 0

Suggesters: 0

Stars: 8

Open Issues: 4

0.2.5 2026-04-03 15:59 UTC

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 87ac783767389328bb8bf4f461c0e6851d0259bd

OpenIdAuthenticationbundleconnectproviderauthoidc


README

πŸ‘ unit tests
πŸ‘ static analysis
πŸ‘ coding standards
πŸ‘ automated refactorings
πŸ‘ stable version

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

  1. Install the bundle using Composer:

    composer require ajgarlag/openid-connect-provider-bundle
  2. Setup the league/oauth2-server-bundle, which is required for this bundle to function properly. Follow the README file to complete the setup.

  3. 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
  4. 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