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`.)
![image](https://user-images.githubusercontent.com/33882/183742640-c08fd088-5f3b-48f8-8e5b-bd4e4095e4eb.png)
`ServerState`
![image](https://user-images.githubusercontent.com/33882/183753252-b1296ffd-605e-4a1a-91ae-42905e37cdb5.png)
Other configuration:
`nameID` value for me provided by Shibboleth, SAML, and AAD:
![image](https://user-images.githubusercontent.com/33882/183744159-3f461b3d-2d1a-42c5-9203-cc080c7c5f8c.png)
Although I'm an admin I cannot login:
![image](https://user-images.githubusercontent.com/33882/183753410-44ab3d2c-ca05-4324-b77c-d9d5348e6ec7.png)
But when I try Chrome's incognito mode, I **can** and I'm an Admin:
![image](https://user-images.githubusercontent.com/33882/183757465-a4f911f3-21fe-4b36-a5f5-11196a68939b.png)
However, when I set `IsUp = 1`, and login not in incognito mode, I'm not an Admin:
![image](https://user-images.githubusercontent.com/33882/183757155-cb65a90b-2ae9-41f4-a109-d60a7aacaae7.png)
Thanks for all you do.
Arthur
Discussed in https://github.com/uwrit/leaf/discussions/554