Hi I just wanted to ask if OpenHab 3 has authentication in place…if not, I wanted to offer my help . I would suggest to implement authelia Maybe we can just make the app compatible with it, so People can use it on their reverse-proxy. I use traefik with the OpenHab docker and absolutely love it . If someone is interested, I can help test/develop a solution with traefik here together, but the best thing would be to integrate Auth/user management directly to OpenHab if planned so
OpenHAB 3 has authentication.
Oh very cool thank you is dual-factor also supported?
No, not yet.
Authelia is primarily a reverse-proxy based solution, as far as I understand it, while openHAB currently only supports its own identity provider (based on users in the JSON DB).
In the future we can imagine options to trust an OpenID Connect provider, and accept their tokens as valid authentication to openHAB services, or exchange them with openHAB ones. Authelia plans to act as a OpenID Connect provider, at least it’s on their roadmap (https://www.authelia.com/docs/roadmap.html). Then you’d identify yourself using any MFA option it offers. openHAB could also support popular MFA provider internally.
I think internal MFA would be the better option for now… because I think most people only use reverse-proxy on OpenHab because of missing Auth in 2…with internal MFA OpenHab would be more versatile and secure I think . But I would not program it from scratch…maybe this is a good solution?: http://www.linotp.org/. I have no experience with directly integrated MFA, but maybe authy is a good solution? Found this: https://github.com/twilio/authy-java
Multi function Authentication is WAY more than a lot of people want at home. It may ne a good OPTION but not the default.
Authy is fine, but generic TOTP (which is supported by both Authy, Google Authenticator and others) would be better. There are a number of TOTP libraries in Java apparently, so it appears doable.
In any case, I think you should start a discussion in https://github.com/openhab/openhab-core/issues with what you’re planning to do.
Yes I also wouldn’t use it as default but as additional security measure. Especially for the people who like to Selfhost OpenHab . Maybe it brings some weight of myopenhab…also security-headers like nextcloud implements by default would be a nice security measure
@ysc thanks I’ll try that
Opened an Issue hope we find some security-enthusiasts https://github.com/openhab/openhab-core/issues/1790
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.