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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. ProxyAuth Not Working

ProxyAuth Not Working

Scheduled Pinned Locked Moved Solved Support
proxyauth
4 Posts 2 Posters 621 Views 2 Watching
  • 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.
    • R Offline
      R Offline
      rossmaclean
      wrote on last edited by girish
      #1

      Hey,

      I'm trying to use the proxyAuth addon with an app I've packaged. It's my understanding that the proxy auth sits between the reverse proxy and the app container and therefore requires no changes to my app code? The app I packaged is running Nginx to server a site so just confirming I don't need to make changes to the nginx config for that.

      Here's my CloudronManifest

      {
        "version": "0.1.0",
        "healthCheckPath": "/",
        "httpPort": 80,
        "addons": {
          "localstorage": {},
          "proxyAuth": {}
        },
        "manifestVersion": 2
      }
      

      The issue I'm having is that when I go to my site it's not giving me the login prompt. I've tried on other devices/incognito etc in case it was caching the page/creds.

      Cheers!
      Ross

      girishG 1 Reply Last reply
      0
      • R rossmaclean

        Hey,

        I'm trying to use the proxyAuth addon with an app I've packaged. It's my understanding that the proxy auth sits between the reverse proxy and the app container and therefore requires no changes to my app code? The app I packaged is running Nginx to server a site so just confirming I don't need to make changes to the nginx config for that.

        Here's my CloudronManifest

        {
          "version": "0.1.0",
          "healthCheckPath": "/",
          "httpPort": 80,
          "addons": {
            "localstorage": {},
            "proxyAuth": {}
          },
          "manifestVersion": 2
        }
        

        The issue I'm having is that when I go to my site it's not giving me the login prompt. I've tried on other devices/incognito etc in case it was caching the page/creds.

        Cheers!
        Ross

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @rossmaclean that should all be needed. But did you try a fresh install instead of updating an existing app ?

        R 1 Reply Last reply
        0
        • girishG girish

          @rossmaclean that should all be needed. But did you try a fresh install instead of updating an existing app ?

          R Offline
          R Offline
          rossmaclean
          wrote on last edited by rossmaclean
          #3

          @girish I didn't I was updating an existing app. Installing it fresh has fixed it!

          Could the docs be updated to note that the app has to be completely reinstalled for it to work?

          Cheers

          girishG 1 Reply Last reply
          0
          • R rossmaclean

            @girish I didn't I was updating an existing app. Installing it fresh has fixed it!

            Could the docs be updated to note that the app has to be completely reinstalled for it to work?

            Cheers

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @rossmaclean Currently, there is a limitation that "auth" stuff (including LDAP integration) cannot be turned on and off dynamically. It is chosen at install time. Since the app didn't have proxyAuth initially, it cannot be turned on later with an update.

            Will put a note in the docs.

            1 Reply Last reply
            0
            • girishG girish marked this topic as a question on
            • girishG girish has marked this topic as solved on
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search