diff --git a/drenso/symfony-oidc-bundle/2.0/config/packages/drenso_oidc.yaml b/drenso/symfony-oidc-bundle/2.0/config/packages/drenso_oidc.yaml new file mode 100644 index 00000000..22b7b92c --- /dev/null +++ b/drenso/symfony-oidc-bundle/2.0/config/packages/drenso_oidc.yaml @@ -0,0 +1,18 @@ +drenso_oidc: + #default_client: default # The default client, will be aliased to OidcClientInterface + clients: + default: # The client name, each client will be aliased to its name (for example, $defaultOidcClient) + # Required OIDC client configuration + well_known_url: '%env(OIDC_WELL_KNOWN_URL)%' + client_id: '%env(OIDC_CLIENT_ID)%' + client_secret: '%env(OIDC_CLIENT_SECRET)%' + + # Extra configuration options + #redirect_route: '/login_check' + #custom_client_headers: [] + + # Add any extra client + #link: # Will be accessible using $linkOidcClient + #well_known_url: '%env(LINK_WELL_KNOWN_URL)%' + #client_id: '%env(LINK_CLIENT_ID)%' + #client_secret: '%env(LINK_CLIENT_SECRET)%' diff --git a/drenso/symfony-oidc-bundle/2.0/manifest.json b/drenso/symfony-oidc-bundle/2.0/manifest.json new file mode 100644 index 00000000..fa98c042 --- /dev/null +++ b/drenso/symfony-oidc-bundle/2.0/manifest.json @@ -0,0 +1,13 @@ +{ + "bundles": { + "Drenso\\OidcBundle\\DrensoOidcBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "OIDC_WELL_KNOWN_URL": "Enter the .well-known url for the OIDC provider", + "OIDC_CLIENT_ID": "Enter your OIDC client id", + "OIDC_CLIENT_SECRET": "Enter your OIDC client secret" + } +}