A button in the profile security tab to redo login #1947
Unanswered
h7io
asked this question in
Other UI enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the enhancement
In the Profile -> Security tab, where all the token stuff is, I would like a button/link which would redirect to the login/credential-entry page again and allow inputting new credentials. If the page is browsed away/canceled - nothing happens, the old login/credentials continue being used.
Use cases
I have implemented a credential rotation script, so that new credentials (with associated users) are added yearly and after a month - the old ones deleted.
To enter the new credentials - I have to log out in the mobile app, which breaks all my mobile widgets (they need reconfiguring after a new login) and if there is an issue with the new credentials - the old ones have already been cleared from the app, so I need to find the old ones to make the app work again.
The idea is that a way to login with a new user, while already logged in with an old, would prevent the mobile widgets breaking and would be a better overall UX for switching users in mobile.
Visual examples
Proposed improvement:
Anything else?
I would appreciate even some guidelines what would need changing in the code, so I could prepare a PR, or just have a patch for my local instance if no one else is interested. I understand that the button needs to be added to HA frontend, but I am not sure which endpoint to call or how would the flow be best structured. So I would appreciate pointers.
Beta Was this translation helpful? Give feedback.
All reactions