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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

User authentication and LDAP

Scheduled Pinned Locked Moved Discuss
15 Posts 5 Posters 358 Views
    • 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.
  • A Offline
    A Offline
    abargel
    replied to nebulon on last edited by
    #6

    @nebulon But thanks for taking a moment to consider 🙂

    nebulonN 1 Reply Last reply
    0
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    replied to abargel on last edited by
    #7

    @abargel generally, when possible in the upstream app, we do try to integrate the user management already. If LDAP integration with Cloudron is missing in the package, but the app does support LDAP, then we should ideally add it. Feel free to suggest the LDAP integration of a specific app in the app's forum category.

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    abargel
    replied to nebulon on last edited by
    #8

    @nebulon Well, both apps do support LDAP in the Cloudron package, but I do need users to sign up within one of the apps. If those credentials could somehow make their way up to my Cloudron, then the LDAP integration would take care of the second app. Does that make any sense?

    To be more explicit, one is a Wordpress site with an ecommerce plugin where users create an account as they make a purchase, and the other a Nextcloud instance where they need to sign in to collect their purchase.

    So they should be able to sign in with the same credentials, and I can't quite ask them to also sign up for a Cloudron account to LDAP them into both apps, as it should not be confusing or complex for them.

    In theory, it should be easy to use either Wordpress or Nextcloud as OAuth source for the other, but in practice I am struggling (and can't afford expensive Wordpress plugins that promise to do it better, as this is a tiny operation), hence looking for some type of workaround...

    subvenS P 2 Replies Last reply
    0
  • subvenS Offline
    subvenS Offline
    subven
    replied to abargel on last edited by subven
    #9

    @abargel this would assume that apps can write to the LDAP which is not supported for good reasons. You can set up your own LDAP and configure it so it meets your criteria.

    For your specific problem take a look at Freescout Easy Digital Downloads Module. Because it seems that you are selling digital goods, maybe you can use another plugin and/or benefit from Freescouts capabilities.

    A 1 Reply Last reply
    0
  • P Offline
    P Offline
    plusone-nick
    replied to abargel on last edited by
    #10

    @abargel I can help you implement the Registration app I published if you'd like

    ✌💙+1

    A 1 Reply Last reply
    1
  • P Offline
    P Offline
    plusone-nick
    replied to abargel on last edited by
    #11

    @abargel so your flow seems to be the following:

    1- user signs up and buys something for your store (WordPress site with plugin)
    2- you send them or display some email/conf with instructions to sign into NextCloud
    3- they sign in and get their digital purchase?

    and you need to connect the dots...?

    Creating a Cloudron/LDAP user will only solve half of this use case as the user still has to sign up for the store account which is not the same (afaik) as creating an LDAP user for WordPress . Although the WP/plugin could have an API to integrate with...

    Regardless it seems like you'd need to capture that user data and then use it to make the Cloudron user. Then they can sign into NC for the digital purchase

    Look into the WP/Plugin API part and let me know your findings... if its straightforward im willing to help you add that to the Reg App and implement it =]

    ✌💙+1

    1 Reply Last reply
    1
  • A Offline
    A Offline
    abargel
    replied to plusone-nick on last edited by
    #12

    @plusone-nick Thank you for your response and kind offer to help. I think I figured it out, by reshuffling my user flow. It seems silly, but after racking my brains on all the technical solutions last night, I woke up this morning with a simple idea to avoid the problem altogether... I still would love to understand the technical aspects beneath all this, yet that may take more time.

    On a side note, I would love to see your app integrated into Cloudron, as has been discussed separately. With some customization, it would allow an easy set up for multi-apps projects like this one.

    Thanks again!

    jdaviescoatesJ 1 Reply Last reply
    2
  • A Offline
    A Offline
    abargel
    replied to subven on last edited by
    #13

    @subven Thanks! Setting up my own LDAP was part of my research yesterday, but wasn't as easy as it sounds (for me, anyway!)

    1 Reply Last reply
    1
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to abargel on last edited by
    #14

    @abargel said in User authentication and LDAP:

    I woke up this morning with a simple idea to avoid the problem altogether.

    what's the idea?

    I use Cloudron with Gandi & Hetzner

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    abargel
    replied to jdaviescoates on last edited by
    #15

    @jdaviescoates

    1. customer signs up for an account (on Nextcloud) to collect a free product.
    2. to buy more, customer is asked to log into their account, but that page is actually a Wordpress registration form looking like a log in form. Customer enters the same credentials, so both accounts will correspond (and both sites are under one brand/visual identity).
    3. when coming back to their account page (on Wordpress) for future purchases and such, customer will use a similar looking log in form, that is actually a log in form.

    Of course:

    • the camouflaged registration form needs to be used only the first time. I can arrange that through the onboarding flow.
    • I still need purchases on Wordpress to be reflected for the corresponding user on Nextcloud. I'll start manually (again, tiny operation), then I think I can automate that through the APIs on n8n, like Stripe to Nextcloud. Just need to learn more about how that works...
    1 Reply Last reply
    1

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.