Merge pull request #7831 from betagouv/saml-metadata-add

update saml idp config
This commit is contained in:
krichtof 2022-10-03 13:57:17 +02:00 committed by GitHub
commit 1f3ae1cefc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,8 @@ if ENV['SAML_IDP_ENABLED'] == 'enabled'
config.base_saml_location = "https://#{ENV['APP_HOST']}/saml/metadata" config.base_saml_location = "https://#{ENV['APP_HOST']}/saml/metadata"
config.x509_certificate = ENV.fetch("SAML_IDP_CERTIFICATE") config.x509_certificate = ENV.fetch("SAML_IDP_CERTIFICATE")
config.secret_key = ENV.fetch("SAML_IDP_SECRET_KEY") config.secret_key = ENV.fetch("SAML_IDP_SECRET_KEY")
config.single_service_post_location = "https://#{ENV['APP_HOST']}/saml/auth"
config.single_service_redirect_location = "https://#{ENV['APP_HOST']}/saml/auth"
config.name_id.formats = { config.name_id.formats = {
"1.1" => { "1.1" => {