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. Add ldap auth to custom webapp?

Add ldap auth to custom webapp?

Scheduled Pinned Locked Moved Solved Support
proxyauth
2 Posts 2 Posters 572 Views 1 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 on last edited by girish
    #1

    I am building a Node.js based custom webapp. But I don't want my webapp files (/app/data/public) files to be publicly accessible unless it's a cloudron authenticated user. So I want to add a login prompt in front of the app (auth wall I think?).

    Example: Assume Surfer app is installed at surfer.x.com, going to surfer.x.com/_admin/ shows what I am looking for.
    Screen Shot 2020-11-14 at 1.50.07 PM.png

    So I am currently referring to: https://git.cloudron.io/cloudron/surfer/-/tree/master/frontend

    I have added the ldap add-on in CloudronManifest.json.

    What is the easiest way to accomplish this? Is the Surfer app approach the best way to go about it?

    I also found this thread on the forums:
    https://forum.cloudron.io/topic/3682/proxyauth-addon/14
    Is this what I am looking for?

    mehdiM 1 Reply Last reply
    1
    • saikarthikS saikarthik

      I am building a Node.js based custom webapp. But I don't want my webapp files (/app/data/public) files to be publicly accessible unless it's a cloudron authenticated user. So I want to add a login prompt in front of the app (auth wall I think?).

      Example: Assume Surfer app is installed at surfer.x.com, going to surfer.x.com/_admin/ shows what I am looking for.
      Screen Shot 2020-11-14 at 1.50.07 PM.png

      So I am currently referring to: https://git.cloudron.io/cloudron/surfer/-/tree/master/frontend

      I have added the ldap add-on in CloudronManifest.json.

      What is the easiest way to accomplish this? Is the Surfer app approach the best way to go about it?

      I also found this thread on the forums:
      https://forum.cloudron.io/topic/3682/proxyauth-addon/14
      Is this what I am looking for?

      mehdiM Offline
      mehdiM Offline
      mehdi
      App Dev
      wrote on last edited by
      #2

      @saikarthik Yes, the proxy addon seems good for what you are looking for.

      However, it's not available yet, it'll only be released with Cloudron 6 (I think the devs estimated about 2 weeks, but it's only an estimate).

      Also, it does not allow for more fine-grained control, so if you want to restrict only a few things, you'll have to do it manually, and in that case yeah you can take inspiration in the Surfer app for example.

      1 Reply Last reply
      2
      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