Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for HTTPS endpoints & Basic Auth #14

Open
anoff opened this issue Feb 2, 2021 · 2 comments
Open

Support for HTTPS endpoints & Basic Auth #14

anoff opened this issue Feb 2, 2021 · 2 comments

Comments

@anoff
Copy link

anoff commented Feb 2, 2021

Hey 馃崻,

is there any way to address WLED endpoints from the (Android) app using https?

I want to expose my endpoints to the internet - at least for some time to play around. But for some basic security I want to rum them behind a reverse proxy with basic auth + SSL encryption.
The app seems to always prepend http:// to the entered hostname, so I end up with http://https://user:password@host as an entry, leading to a broken URL and no connection at all.
Basic Auth works using [http://]user:password@host at least for discovering the WLED but opening the panel of the individual endpoint there are several connection errors, probably caused by this one

TypeError: Failed to execute 'fetch' on 'Window':
Request cannot be constructed from a URL that includes credentials: /json/si

Amazing work on the WLED ecosystem, greetings from 馃嚡馃嚨

@anoff anoff changed the title Support for HTTPS endpoints Support for HTTPS endpoints & Basic Auth Feb 2, 2021
@kirktindel
Copy link

I just wanted to plus-one this. I don't care so much about encryption, HTTPS and I don't even mind cert errors. I just want WLED to be able to operate on a different IP port than port 80 (unencrypted HTTP).

I've spent many hours looking up the subject and haven't found anything that seems pertinent, aside from requests for this. Hopefully if enough of us keep asking for https, they'll include it (and, hopefully for me, the ability to use port 443)

@Dr-Bix
Copy link

Dr-Bix commented Aug 31, 2022

What about fronting the ESP32 with a Raspberry Pi (or some other web server) and reverse proxying the HTTPS requests to the ESP32/WLED? Nginx is apparently rather simple to configure for this. Would the Mobile App support this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants