Forums, Documentation & Knowledge Base - ComponentSpace

Multiple local providers through saml.config file


https://componentspace.com/forums/Topic11505.aspx

By yannis - 3/24/2021

Hi all,

We have a configuration that looks like the below.

We would like to add another partner idp but with different configuration on the local service provider side. Is this possible through the config file? If so how?


"LocalServiceProviderConfiguration": {
  "Name": "someid",
  "Description": "Service1",
  "AssertionConsumerServiceUrl": "https://subdomain.domain.com/login/saml",
  "SingleLogoutServiceUrl": "https://subdomain.domain.com/logout/saml",
  "LocalCertificates": [{
   "SubjectName": "*.domain.com"
  }]
},
"PartnerIdentityProviderConfigurations": [{
  "Name": "https://external.com",https://external.com",
  "Description": "DESC",
  "SignAuthnRequest": true,
  "SignLogoutRequest": true,
  "SignLogoutResponse": true,
  "DisableInResponseToCheck": true,
  "SingleSignOnServiceUrl": "https://external.com",https://external.com",
  "SingleLogoutServiceUrl": "https://external.com",https://external.com",
  "PartnerCertificates": [{
   "FileName": "bootstrapping/subsystems/saml/certificates/CERT.cer"
  }]
}]
}

By ComponentSpace - 3/24/2021

Yes. This is available through our multi-tenancy support. Each tenant has a LocalServiceProviderConfiguration and PartnerIdentityProviderConfigurations.

This can all be included in your appsettings.json etc.

Please refer to the Multi-Tenancy Support section of our Configuration Guide for more information and an example configuration outline.

https://www.componentspace.com/Forums/8234/Configuration-Guide