Do not add trailing slash to issuer, but adapt path instead (#184)
This commit is contained in:
parent
fd11f7f814
commit
d95c72904d
|
@ -19,8 +19,8 @@ my ($path) = ( $issuerDBOpenIDConnectPath =~ /(\w+)/ );
|
|||
my $issuer = $portal->{oidcServiceMetaDataIssuer};
|
||||
my @acr = keys $portal->{oidcServiceMetaDataAuthnContext};
|
||||
|
||||
# Add a trailing slash to issuer value if none
|
||||
$issuer = $issuer . "/" unless ( $issuer =~ /\/$/ );
|
||||
# Add a slash to path value if issuer has no trailing slash
|
||||
$path = "/" . $path unless ( $issuer =~ /\/$/ );
|
||||
|
||||
# Create OpenID configuration hash;
|
||||
my $configuration = {};
|
||||
|
|
Loading…
Reference in New Issue
Block a user