Unable to use http_node / http_static endpoints with credentials
See original GitHub issueHi.
I’m trying to set up an http in node endpoint with custom login credentials, but I can’t get it to work. Either the configured credentials are not working or I’m forced to use Hassio admin credentials.
Steps to reproduce:
- Simple Node-RED http in node -> Method: GET, URL: /simpletest
- Add-on config:
- Web interface port 1880
- http_node + http_static (same user/password set for both)
- http://<mycustomduckdnshost>.org:1880/simpletest Result: login prompt. Neither http_node nor Hassio admin credentials work.
- http://<mycustomduckdnshost>.org:1880 Result: login prompt. Hassio admin login works. Shows Node-RED admin UI
Even tried changing settings.js httpAdminRoot: ‘/admin’. Same happens, just using http://<mycustomduckdnshost>.org:1880/admin instead.
I’m testing always clearing Local Storage auth credentials (https://github.com/hassio-addons/addon-node-red/issues/190#issuecomment-483463573)
Also tried adding to configuration.yaml as stated here (https://github.com/hassio-addons/addon-node-red/issues/184#issuecomment-483230107)
auth_providers:
- type: homeassistant
I was using reverse proxy and SSL at first, but now I am testing with plain HTTP and port. Also trying LAN access using HASSIO IP, same result.
I’ve only been able to access the endpoint this way, but don’t want to use Hassio credentials:
- http_node + http_static default config (no user/password):
- http://<mycustomduckdnshost>.org:1880/simpletest Result: login prompt. Hassio admin login works. Shows endpoint response
- http://<mycustomduckdnshost>.org:1880 Result: login prompt. Hassio admin login works. Shows Node-RED admin UI
Any clues?
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (3 by maintainers)

Top Related StackOverflow Question
This issue has been addressed in our development version and will be generally available in the next release.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.