-
Notifications
You must be signed in to change notification settings - Fork 643
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
Don't allow user to press back to log out #76
Comments
This is a frontend issue so must be fixed there. |
Shouldn't we just start a new webview for the website, so there is no history of the login page to back to. The person didn't get logged out but just navigated back to the login page. Killing app and reopening would have solved it. |
It would, it happened to mee too. |
I think the issue is rather that when navigating back from an external page to a HA page, the frontend will not ask the app for authentication again and just show the login. |
#75 will help. The issue is that we change the url and it forgets it was using external auth. Indeed a frontend issue. I wonder if we need to chanfe how we detect external auth. Maybe we should check if some JS object exists instead? |
You could try checking if the externalApp interface is present. |
It happened to me also on "new ui available" and reload of lovelace. After refresh - login screen. Killing app and reopening fixed situation. |
Fixes in home-assistant/frontend#4280 |
First off, this is great to see an official HA app. Well done! 👏👏👏
I found that by pressing back too many times logged me out of HA. This is a UX bug. See #75.
The text was updated successfully, but these errors were encountered: