Leaf's being funky with Chrome and maintenance mode
Discussed in https://github.com/uwrit/leaf/discussions/554
Originally posted by artgoldberg August 9, 2022 Leaf's being funky with Chrome and maintenance mode.
Running Leaf 3.11, commit 6f06ef8acfbc6654b88e2ea5411d32af521bec78.
Although maintenance mode has worked previously for this release of Leaf, now it only works in incognito mode. I suspect that some state cached in the browser is messing it up.
What I want: put Leaf in maintenance mode and let admins use it.
What happens: when Leaf is in maintenance mode admins cannot login, unless they login in incognito mode.
Configuration:
appsettings.json:
"Authentication": {
"Mechanism": "SAML2",
"SessionTimeoutMinutes": 480,
"InactivityTimeoutMinutes": 120,
"Logout": {
"Enabled": false,
"URI": ""
},
"SAML2": {
"Headers": {
"ScopedIdentity": "nameID"
}
}
},
"Authorization": {
"AllowAllAuthenticatedUsers": true,
"Mechanism": "APPDB"
}, ...
LeafDB content:
UserRole (I also tried with IsIdentified = 0.)
ServerState

Other configuration:
nameID value for me provided by Shibboleth, SAML, and AAD:

Although I'm an admin I cannot login:

But when I try Chrome's incognito mode, I can and I'm an Admin:

However, when I set IsUp = 1, and login not in incognito mode, I'm not an Admin:

Thanks for all you do. Arthur