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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. How to specify multiple "path" values for proxyauth?

How to specify multiple "path" values for proxyauth?

Scheduled Pinned Locked Moved App Packaging & Development
4 Posts 3 Posters 207 Views 3 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.
  • saikarthikS Offline
    saikarthikS Offline
    saikarthik
    wrote last edited by
    #1

    https://docs.cloudron.io/packaging/addons#proxyauth

    Is there a way to specify multiple paths to include/exclude from the auth wall?

    "proxyAuth": { "path": "!/webhooks,"!/api" }
    

    OR

    "proxyAuth": { "path": ["!/webhooks","!/api"] }
    
    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @saikarthik

      Could you explain how are trying to use proxyAuth?
      I assume this is a custom app that does not support OIDC.
      The proxyAuth add-on exists for apps that do not have LDAP or OIDC support and is rarely used.

      I will have to look into it if proxyAuth even supports setting multiple paths, because I think it might not currently.

      1 Reply Last reply
      0
      • saikarthikS Offline
        saikarthikS Offline
        saikarthik
        wrote last edited by
        #3

        Hi @james, yes, it is a custom internal Next.js app where I use proxyAuth as the auth wall. I am using proxyAuth to expose certain endpoints for webhooks and publicly accessible APIs. I don't currently have OIDC support in this app.

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote last edited by
          #4

          Currently, proxyAuth can only protect a single path . I guess we will have to implement this feature . Most apps have however moved to real OIDC support though .

          1 Reply Last reply
          2

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          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