erickok / transdroid

Manage your torrents from your Android device
GNU General Public License v3.0
1.28k stars 201 forks source link

Basic auth #615

Open SAOPP opened 2 years ago

SAOPP commented 2 years ago

Hi!

It's possible to implement detection of basic authentication of the host instead of the default app login/pass? For example, when ya turn off app's authentication and turn on basic authentication on reverse proxie for app's host.

Thanks.

erickok commented 2 years ago

Most clients use basic auth for authentication. Which are you using?

SAOPP commented 2 years ago

Traefik for example.

SAOPP commented 2 years ago

Btw yes, in Transmission client seems used basic auth, Transdroid is not understood if I turn off the transmission native auth, and turn on it at Traefik side for the app. Actually, what is happening now and why I wrote this question.

erickok commented 2 years ago

You can still enter your basic auth username and password and it will be passed as credentials to your web server/reverse proxy. That's already working as you want i believe. Unless Traefik uses something custom, I have no experience with it.

SAOPP commented 2 years ago

Screenshot_20220506-185250_Transdrone

I dunno, but maybe my issue is affiliated with port at the end of url? Hiw I can address without it? Right now I have empty fields in port.

erickok commented 2 years ago

You can set the port number in Advanced Settings. For example 443 for https.

SAOPP commented 2 years ago

Yes, I has reconfigure my connection, but as I can see app is can't normal connection establishing, 'coz time to time I got error communication issue, I think it at app side 'coz nzb360 client work fine with my host.

erickok commented 2 years ago

It's difficult to say without any details really. Perhaps you also need to set a custom 'folder' (path)?

SAOPP commented 2 years ago

I agree, nope, the default folder location is used, app working great with native basic auth of Transmission side as I remeber that.