Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register users using adhoc commands #140

Open
imaginator opened this issue Oct 7, 2013 · 4 comments
Open

register users using adhoc commands #140

imaginator opened this issue Oct 7, 2013 · 4 comments

Comments

@imaginator
Copy link
Member

  • Inband registration is often not enabled on sites.
  • Inband registration is often misconfigured and results in spammers registering.
  • We require Adhoc commands for password resetting.
  • Better to always have fewer install requirements

This enhancement is to swich the current registration from inband to use http://xmpp.org/extensions/xep-0133.html#add-user

@denisw
Copy link

denisw commented Oct 9, 2013

How should this work? The XEP-0133 commands can only be sent by administrator accounts. The only possibility would be to require an admin account to be created for the HTTP API, but this would add yet another step to the already quite tedious buddycloud setup process.

@imaginator
Copy link
Member Author

To do any of the password change stuff we already require this.

https://github.com/buddycloud/buddycloud-http-api/blob/master/src/password.js#L79

I know there are a lot of steps, but there isn't a better way of deleting accounts or doing password reset.

@lloydwatkin
Copy link
Member

Why wouldn't we improve in band registration rather than use something else? http://xmpp.org/extensions/xep-0077.html

@imaginator
Copy link
Member Author

Here's how I see it.

Right now we need two modules:

  • inband registration (and properly restricting to only be reachable on localhost (spammer protection etc))
  • ad hoc module +admin user (for resetting passwords and deleting users.)

my proposal is to simplify the install so that we have:

  • ad hoc for creating users, resetting passwords and deleting users.

At the end of the day it's not a big issue: just reduces the number of moving parts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants