canonical / lxd-ui

Easy and accessible container and virtual machine management. A browser interface for LXD
GNU General Public License v3.0
242 stars 30 forks source link

keycloack oidc authentication logout error #796

Closed cristianomeloni closed 4 weeks ago

cristianomeloni commented 1 month ago

configuration with keycloack and ldap work well, but on logout no way to remove authentication. click on login ask for password only 1st time, the login direcly.

edlerd commented 4 weeks ago

I think this is as intended with SSO. You log in to your 3rd party login provider once. When using that login provider in LXD-UI, LXD will redirect to the 3rd party. If you're already signed in there, you will immediately be redirected back to LXD-UI as authenticated.

So in your case you need to log out of the 3rd party provider, how to do that is outside LXD.

This is like with "sign in with github" on other pages. When I do that and sign out of the other page, I am still signed in to github.

Please reopen if you still think this is an issue.