Skin rule not working properly
Concerned version
Version: %2.0.14
Platform: Nginx
Summary
Issue : Wrong skin is being used with a Skin Rule Wrong URL seems to be stored in $_url during SAML REQUEST and redirection to Login Portal.
We have an application thas is connected to LemonLDAP-NG with SAML. The user is automatically redirected from my application to LemonLDAP-NG Login portal It seems that the wrong skin is used.
- Default Skin = BootStrap
- Custom Skin = MySkin
Skin Rule :
- Key = $_url =~ m#^https://myapplication.example.com/.*#
- Value = MySkin
With this configuration, it's my Bootstrap skin which is being used and not my custom Skin "MySkin" when the user comes from "https://preprod-myapplication.example.com"
However if I set the following rule :
- Key = $_url =~ m#^https://preprod-auth.example.com/.*#
- Value = MySkin
(Portal URL is https://preprod-auth.example.com)
My custom Skin is used for both Application and Auth URL
It seems that the key $_url contains https://preprod-auth.example.com/ and not https://preprod-myapplication.example.com/
Logs
REMOVED
Backends used
N/A