humhub / rest

HumHub Rest API Module
24 stars 24 forks source link

Add register endpoint #79

Open donni106 opened 2 years ago

donni106 commented 2 years ago

Hi, what about new users being able to register per api? Any plans about this?

luke- commented 2 years ago

Do you mean send a registration email (invite)?

Creating users is already possible.

donni106 commented 2 years ago

Invite was asked before here #47, but i mean a registration without an invite. This also differs from the user creation per POST /user because that needs an authenticated user doing it.

luke- commented 2 years ago

@donni106 Ah ok, got it. That's not implemented/planned yet.

donni106 commented 2 years ago

Hi, coming back to this issue, we have implemented a registration flow with mailing an one time code during the process. Is this something we could implement also for the main REST module here? PR for our custom module to have a look at: https://github.com/ikuseiGmbH/smart-village-app-humhub-ext/pull/30

luke- commented 2 years ago

Would be great if you can also contribute parts of your customization back to the HumHub project!

Our REST API should preferably not provide custom logics (such as custom registration processes) but simple endpoints to various actions.

Ideally, the REST API module of HumHub provides the user creation and setting of a user password.