Open registration
-
@girish said in Open registration:
@murgero Let me know if you need something from the Cloudron side. I guess it can be a separate web app that can be installed at say
register.mydomain.com
. It can then take an access token (this view is currently "hidden". access it asmy.domain.com/#/tokens
) and a Cloudron end point. You should then be able to make calls to create user using https://cloudron.io/documentation/api/#/paths/~1users/post .I’ve only ever been able to get an access token using the API endpoint giving it user admin credentials. What is taking an access token from this “hidden” page
/tokens
page)? Or was this before you created custom tokens? -
@murgero said in Open registration:
@Lonk If you are an admin on the cloudron instance, just go to your profile https://my.example.com/#/profile and scroll down to "API Tokens" to create an API token.
Yes, but the way @girish explained it didn’t sound like doing it manually like how you instructed, so I wondered what he meant. I really don’t know what he meant by the “app could take a token” from
/tokens
but I’d never heard of that endpoint. I’m guessing it’s just the old one that was used to create custom api tokens before the current system (which uses a different URL). -
@avatar1024 Sorry for beeing a little bit verbose
CMS Garden held a (virtual) Unconference two weeks ago. One of our biggest issues was self registering attendees into our LDAP. Thanks to the external LDAP connector to Univention Corporate Server (UCS) in Cloudron we used the following setup:
UCS as our central user management (LDAP) with self registration.
Cloudron as our primary solution for our apps. The Cloudron instance was connected through the external LDAP connector.We had some other cool apps lying around
BBBatscale is a loadbalancer for BigBlueButton instances and capable of connecting against a LDAP server. Yep - users in UCS are authorized users in BBBatscale.Openstreamingplatform as our twich alternative to embed the streams from different BBB rooms. (But without any knowledge of LDAP users).
In a slightly different setup we use UCS to be the central user management to different Cloudron instances. But in this setup without self registration.
Good news: there is a possibility today to have a central LDAP user management with many Cloudrons. And if you need it, with a self registration kind of "portal".
Read more
https://www.univention.com/downloads/download-ucs/
https://www.univention.com/blog-en/2020/05/register-your-own-account-new-self-service-for-suse-and-ucs/ -
@jdaviescoates Yes - it's mobile friendly
-
I'm curious about this. I could see this being useful for an educational institution that uses a cloudron for student accounts.
-
So I need to get this working.
It seems that Croodle never made it into Cloudron?
So I need to host Croodle somewhere else, then use it to build a login page.
Is it plausible to use https://www.limesurvey.org/ instead? I already have that installled.
-
@sam_uk said in Open registration:
So I need to host Croodle somewhere else, then use it to build a login page.
Croodle is irrelevant (sorry, my bad, I asked about that in this thread, but it's not related at all. Croodle is just a tool similar to Easy Appointments/ Cal.com etc that @murgero was packaging, see https://github.com/jelhan/croodle and https://www.systemli.org/poll/ )
But yeah, it'd be nice to have some sort of way for people to sign themselves up to a Cloudron and then for (Super) Admin/ User Managers to be able to approve or reject them.
I'm not sure what's actually the best way of achieving that though. Any ideas @staff?
-
@jdaviescoates I'm looking at a https://form.io/ > N8N > Cloudron API workflow. No idea if that's a good way though.
All the bits are FOSS, but form.io is not available on Cloudron yet.
-
-
-
-
A post of @luckow has made me interested in baserow (which is already available as an app on Cloudron). With it you can define databases and fill these through a form. It already has the ability to trigger a webhook if an entry was created.
At the moment the webhook payload cannot be freely defined, but if it would add this feature one could make a simple sign up page for Cloudron. User would be created, but sadly one needs to make multiple requests to also send out an invitation mail and to add the user to groups. But this way the admin can decide on their own if the signup should be confirmed.
-
@fbartels very interesting! I also like the idea of an admin being able to adjust the payload for a webhook, but of course, that adds complexity and room for error.
Another option would be to have an n8n webhook catch Baserow's payload. From n8n (also available on Cloudron), you can format the response how you want and then make multiple API calls in order to properly create the Cloudron user.