Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] - Logout redirect #157

Open
dugite-code opened this issue Jul 7, 2022 · 4 comments
Open

[Enhancement] - Logout redirect #157

dugite-code opened this issue Jul 7, 2022 · 4 comments

Comments

@dugite-code
Copy link

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.

@dugite-code dugite-code changed the title Logout redirect [Enhancement] - Logout redirect Jul 7, 2022
@RefineryX
Copy link

I also agree, would love to see this enhancement!

@Ethanadams642
Copy link

Has there been any further information on this?

@dugite-code
Copy link
Author

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.

@LexNastin
Copy link

+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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants