Merge pull request #7831 from betagouv/saml-metadata-add
update saml idp config
This commit is contained in:
commit
1f3ae1cefc
1 changed files with 2 additions and 0 deletions
|
@ -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" => {
|
||||||
|
|
Loading…
Reference in a new issue