My web application has login by OpenID connect. When I test the logout button I'm redirected to the configured logout URL, but when I try to login again I am already logged in.
I would like it to work like this:
- When I log out, I am logged out.
- When X minutes has passed, I am automatically logged out and if I try to do something in my browser window, I will be redirected to the "you are not logged in" page.
How do I control the session? Or, the functionality of the logout button?