ajgarlag/openid-connect-provider-bundle
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.
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: '/'
TBD
See the LICENSE file for details
How can I help you explore Laravel packages today?