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

Pm 3504 saml (#3235)

* return early if scheme doesn't match

* Revert "return early if scheme doesn't match"

This reverts commit 5c07d66774.

* extend saml2handler for extra validation

* add comment

* fix file encoding

* add comment
This commit is contained in:
Jake Fink
2023-09-01 13:55:52 -04:00
committed by GitHub
parent d0cf8204c7
commit 9eed199500
2 changed files with 206 additions and 1 deletions

View File

@@ -415,7 +415,7 @@ public class DynamicAuthenticationSchemeProvider : AuthenticationSchemeProvider
};
options.IdentityProviders.Add(idp);
return new DynamicAuthenticationScheme(name, name, typeof(Saml2Handler), options, SsoType.Saml2);
return new DynamicAuthenticationScheme(name, name, typeof(Saml2BitHandler), options, SsoType.Saml2);
}
private NameIdFormat GetNameIdFormat(Saml2NameIdFormat format)