1
0
mirror of https://github.com/bitwarden/server synced 2025-12-22 19:23:45 +00:00

[PM-5149] unique SP entity id for organization sso configs (#3520)

* org specific sp entity id

* updates

* dont default true
This commit is contained in:
Kyle Spearrin
2024-01-18 16:54:01 -05:00
committed by GitHub
parent ef359c3cf1
commit 4b6299a055
4 changed files with 9 additions and 2 deletions

View File

@@ -349,7 +349,9 @@ public class DynamicAuthenticationSchemeProvider : AuthenticationSchemeProvider
}
var spEntityId = new Sustainsys.Saml2.Metadata.EntityId(
SsoConfigurationData.BuildSaml2ModulePath(_globalSettings.BaseServiceUri.Sso));
SsoConfigurationData.BuildSaml2ModulePath(
_globalSettings.BaseServiceUri.Sso,
config.SpUniqueEntityId ? name : null));
bool? allowCreate = null;
if (config.SpNameIdFormat != Saml2NameIdFormat.Transient)
{