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. 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 955 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

      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