Commit ce8d8ee8 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

SAML: correct a bug if no NameIDFormat were given

parent bf5c2616
......@@ -855,6 +855,7 @@ sub extractFormInfo {
my $nameIDFormat =
$self->{samlIDPMetaDataOptions}->{$idp}
->{samlIDPMetaDataOptionsNameIDFormat};
$nameIDFormat ||= "transient"; # Default to transient
$nameIDFormat = $self->getNameIDFormat($nameIDFormat) if $nameIDFormat;
# IDP HTTP method
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment