Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved `proxyAuth` addon: Basic Auth semi-broken in 6.2

    Support
    proxyauth
    2
    4
    256
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mehdi
      mehdi App Dev last edited by girish

      It seems that some things that use the Basic Auth method of authenticating with an app behind proxyAuth break on 6.2.

      In my case, I noticed at least 2 broken things:

      • the Transmission search option in SickChill
      • the Transmission Remote app for Android

      I initially thought it was due to the new SickChill update (https://forum.cloudron.io/topic/4698/link-with-transmission-seems-broken-in-the-last-version/2), but then I found out that the remote app was broken too.

      It appears this is caused by some kind of redirection loop, as shown by this screenshot:

      56faf6dc-c2f5-47c9-8df5-f2570a22414a-image.png

      I guess this means the problem is that something changed with the proxyAuth addon in 6.2 compared to 6.0 in a way that breaks stuff. (I am not 100% sure if it worked on 6.1 or not, but I think it did work)

      (I tried to put all the relevant information from the original thread in this one, but I may have missed a few details)

      EDIT: it actually worked until at least March 12th, so it did work on 6.1.

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @mehdi last edited by

        @mehdi I had added a basicAuth flag to proxy auth addon after you had reported a possible security risk a while ago. I guess, we need to add that flag to sickchill? I don't have a way to test but can you just add this to manifest?

        "proxyAuth" : {
          "basicAuth": true
        }
        

        Thanks!

        mehdi 1 Reply Last reply Reply Quote 0
        • mehdi
          mehdi App Dev @girish last edited by

          @girish No, not to sickchill, to Transmission. I am surprised that my browser extension still works...

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            OK, this got sorted out by enabling basicAuth flag. Thanks for testing @mehdi

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB