Basic Authentication for Websocket #2409
Unanswered
Cust0mC0d3z
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got a reverse proxy running in the cloud and my HA instance is using an SSH reverse tunnel to have the app connect to my external URL and control HA at home.
I tried adding basic authentication data to the external URL field within the app which is possibly (no syntax errors) and it successfully authenticates against my reverse proxy, but as soon as it upgrades the connection to Websockets the authentication details are missing and therefore no connection is possible of course.
Having an self-hosted external reverse proxy up running with additional authentication and the possibility to use Fail2Ban to analyze the reverse proxy's logs for failed authentication attemps (I mean the additional authentication) would block nasty access attempts outside my home network instead having them entering my HA instance at home.
Beta Was this translation helpful? Give feedback.
All reactions