marcopeocchi / yt-dlp-web-ui

A terrible web ui and RPC server for yt-dlp. Designed to be self-hosted.
GNU General Public License v3.0
917 stars 94 forks source link

Login Support #60

Closed CDN18 closed 1 year ago

CDN18 commented 1 year ago

I would like to deploy this project on the public network, but without login support, anyone with this URL can call the service to download videos. Is it possible to add login support?

marcopeocchi commented 1 year ago

ATM only the RPC side supports authentication.

arbdevml commented 1 year ago

Login can be implemented by Authelia and Nginx as a reverse proxy.

CDN18 commented 1 year ago

Login can be implemented by Authelia and Nginx as a reverse proxy.

I am currently using nginx basic auth as a temporary solution. It would be more convenient if the web-ui itself supports authentication though.

marcopeocchi commented 1 year ago

@CDN18 to be more clear, username and password authentication without RPC authentication?

if so, it can be done without heavy changes.

marcopeocchi commented 1 year ago

anyway followup is on #62

CDN18 commented 1 year ago

@CDN18 to be more clear, username and password authentication without RPC authentication?

if so, it can be done without heavy changes.

@marcopeocchi Yes, that's exactly what I think.

marcopeocchi commented 1 year ago

closed as login by username and password is already implemented