Open registration
-
@jdaviescoates
for "Open registation" read "Open registration" -
@Hillside502 fixed, thanks
-
@jdaviescoates Is this still something you would like to discuss? I don't believe I remember getting your email
-
@murgero you replied 3 times in that email thread
And then we chatted a little on Matrix, but struggled to find a time we could discuss further...
How is that Croodle package coming along?
(it seemed to already be working well when I tested your test app at https://croodle.urgero.org/ 22 days ago - what's left to get it into the app store?
)
-
@jdaviescoates said in Open registration:
How is that Croodle package coming along?
Croodle is working fine - just needs appstore approval!
Let's reconnect on Matrix
I'd like to discuss again now that work has "calmed down"
-
Obviously this doesn't completely open registration but allows you to look at a list of requested accounts and approve them. This is the frontend for normal users. I plan on making an admin portal soon enough.
-
Iโm working on the API documentation but havenโt managed to merge anything yet but this is absolutely possible via a
Cloudron Add-on
as I like to call custom Cloudron web apps that enhance Cloudron specifically by using its tokens to automate tasks. -
@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? -
@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.
-
@murgero nice!
Hopefully those section on the left/ right stack up nicely when viewing on mobile?
-
@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
-
@luckow that sounds very interesting and worthy of it's own post so we can bookmark it
-
@luckow Thatโs super cool. Glad to hear it works that way with external LDAP. Thanks for sharing your story!
๏ธ
-
Did anything ever come of this? IS there an app for user registration?
-
@derin no, not yet
-
@derin there's an API to automatically add users - https://docs.cloudron.io/api.html#tag/Users/paths/~1users/post but no auto-registration form yet.
-
I'm curious about this. I could see this being useful for an educational institution that uses a cloudron for student accounts.
-
I'd also like open user registration (ideally with a moderation/approval step). What's needed to make it happen?
-
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.
-
@girish Just spotted that groups are not exposed in the API: https://docs.cloudron.io/api.html#tag/Users/paths/~1users/post
Are there any plans to add it?
-
@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.
-
Sam_uk
-
Sam_uk
-
jdaviescoates
-
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.
-
@thetomester13 said in Open registration:
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.
Bingo!
-
@thetomester13 But why use two applications and increase the possibility of a malfunction, when one application alone could also do the job
-
@fbartels said in Open registration:
but if it would add this feature
Isn't it the case that Baserow lacks this feature? So to get something working today Baserow>N8N is the current best way? This may change in the future if Baserow gains that functionality?
-
@fbartels sure. One answer would be separation of concerns. Baserow isn't built to call multiple webhooks after a form submit, whereas n8n is built almost exactly for this reason (among others).
Additionally, as @Sam_uk said, this is a solution that could work right now, without having to wait for additional features being added to Baserow.
That being said, I do love the idea of being able to adjust a payload for webhooks - such flexibility!
-
girish
-
@plusone-nick said in Open registration:
Also interested in this use case - if any code is shared please let me know =] I will also look into giving this a shot
Better late than never
https://forum.cloudron.io/topic/7546/open-registration-app-for-cloudron