Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Added command_line auth provider that validates credentials by calling a command #19985
A new authentication provider that checks username/password by calling an external program, passing the values as environment variables. If the program exits with exit code 0, authentication succeeds.
Additionally, the program can print out lines of the form
to give HA some information about the authenticating user. Currently, only
As an example, I wrote a script to do authentication against LDAP, that I'll link here soon.
Related issue (if applicable): Closes #19975
Pull request in home-assistant-polymer: home-assistant/home-assistant-polymer#2561
Example entry for
Ah I see, MVP... Removing the metadata sounds not desirable to me. I don't want to see "You're logged in as ." in the UI because HA doesn't know my name. Could become more problematic when HA maybe logs user actions some day.
Having to turn it on explicitly sounds more appropriate to me.
awarecan left a comment
There are two stuffs are missing besides the documentation pointed by Frenck
I won't create any docs until we mutually agreed on the API, won't do it twice when it needs to be changed. Are you happy with
I'll look into testing the login flow as well... Just took the existing tests from
Strings for the frontend... alright.