Hello!
I’m using OOD 3.1.7 with configured “OnDemand Dex for LDAP”.
There is some strange behavior.
After logging out, if you do not close the browser tab and try to log in after a certain timeout (approximately more than 10 minutes), an error occurs (screenshot below).
Then if you refresh the page you will see a message like this.
After that, if you close the tab and reopen it, you will be taken to the login page and by clicking the button “Log in to Open OnDemand” you will be logged in.
Hmmmm. Can you provide more details on why it’s a Bad Request. I’ve often seen too many cookies result in a similar error. There should be some log in /var/log/httpd/ that indicates why it’s a bad request.
Looking at the mod_auth_openidc repository, you should set the OIDCDefaultURL. It doesn’t look like we set this for you, but you can set it in another .conf file in httpd’s configuration directory.
Yes, thank you very much, this solved the problem!
I noticed that when entering the authorization page, a url is created “https://HOST/dex/auth/ldap/login?back=&state=k7uwlgpg6oorj3o47hwndpmnq” with session id k7uwlgpg6oorj3o47hwndpmnq
Is it possible to make the session id does not expire, then there will be no error “Invalid Authentication Response”
I don’t think you want sessions that don’t expire, if that’s what your asking for. You want sessions to expire so that some malicious user finding your session id (like this one k7uwlgpg6oorj3o47hwndpmnq) can’t use it.
If it didn’t expire, I could use it right now and impersonate you.
I can’t tell exactly if that’s what you’re asking, but yea, you want sessions to expire at some point so that malicious users can’t find them and reuse them indefinitely.