Allow to configure SAML via env variables

This commit is contained in:
Jan Böhmer 2023-02-22 00:50:51 +01:00
parent 586a57c2c9
commit c5904303e3
9 changed files with 76 additions and 13 deletions

View file

@ -1,2 +1,4 @@
hslavich_saml_sp:
resource: "@HslavichOneloginSamlBundle/Resources/config/routing.yml"
resource: "@HslavichOneloginSamlBundle/Resources/config/routing.yml"
# Only load the SAML routes if SAML is enabled
condition: "env('SAML_ENABLED') == '1' or env('SAML_ENABLED') == 'true'"