unprotect rule does not recognize existing sessions when using CDA
I am trying to setup a subdomain where an authenticated user would be authenticated to the app with a HTTP header.
For that I used the unprotect
rule like so:
"locationRules": {
"example.com": {
"default": "unprotect"
}
},
"vhostOptions": {
"example.com": {
"vhostType": "CDA"
}
}
But authenticated users are not detected.
I was expecting that lemonLDAP would make a redirection to the portal to check if a session exist and then come back and set a cookie to identify the user.
Am I wrong somewhere ?