Add recipe for drenso/symfony-oidc-bundle v2 (#1319)

* Add recipe for drenso/symfony-oidc-bundle v2

* Fix spacing

* Add missing /
This commit is contained in:
Bob van de Vijver
2022-02-19 11:00:37 +01:00
committed by GitHub
parent c99f0cca07
commit cb4354041a
2 changed files with 31 additions and 0 deletions

View File

@@ -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)%'

View File

@@ -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"
}
}