ajgarlag/openid-connect-provider-bundle

OpenID Connect provider Symfony bundle

0.1.0 2025-07-07 10:07 UTC

This package is auto-updated.

Last update: 2025-08-30 10:02:14 UTC


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