Open dugite-code opened 2 years ago
I also agree, would love to see this enhancement!
Has there been any further information on this?
My general understanding is that the 3rd party authentication implementation in Homeassistant isn't flexible and extremely rudimentary. With the main developers having expressed no desire to implement or support other Single sign on implementations I don't think there is a simple way to implement a logout redirect, at the moment at least.
+1
For the very least, even if not a redirect, provide a way for it to not stay perpetually logged in even after pressing logout.
Currently Homeassistant immediately logs back in when using the logout button. Would be nice to redirect to a logout URL such as authentik's signout url
https://example.tld/outpost.goauthentik.io/sign_out
I would normaly try and use my reverse proxy to redirect
/logout
urls but it looks like HA dosn't work that way. The only hint I've found so far is this pull request for disconnecting websockets after a token is revoked.