Access app API behind SSO

My YunoHost server

Hardware: Old laptop
YunoHost version: 11.2.12
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
If your request is related to an app, specify its name and version: qbittorrent (or any app behind sso)

Description of my issue

How can I get access to the API of qbittorent behind the sso ?

Can I directly edit /etc/nginx/conf.d/my.domain.com.conf ?

I have proposed an improvement to the app, adding an “api” permission that allows any visitor to access it. Can you try it out? sudo yunohost app upgrade qbittorrent https://github.com/YunoHost-Apps/qbittorrent_ynh/tree/api -F

1 Like
yunohost app upgrade qbittorrent https://github.com/YunoHost-Apps/qbittorrent_ynh/tree/api -F
Error: Could not find https://github.com/YunoHost-Apps/qbittorrent_ynh/tree/api in the list of installed apps:

Sorry, mistyped the command: sudo yunohost app upgrade qbittorrent -u https://github.com/YunoHost-Apps/qbittorrent_ynh/tree/api -F

1 Like

Thanks a lot for the help !

It works but there is a side effect, now the default domains redirect to qbittorent.

How can I undo the update ? (or should I uninstall then reinstall qbittorrent)

Actually, uninstalling and reinstalling qbittorrent (the old version) didn’t fix the problem.

hmm, after clearing cookies. It doesn’t redirect anymore…

Hmm, as I understand it this uprgade allows anyone on the internet to use the API ? is that right ?

Yes, provided they authenticate, obviously.

Oh cool ! Thanks again !

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.