-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Can't create new user trough API without password #10717
Comments
GitMate.io thinks possibly related issues are #3914 (Can't create a user from GUI with simple passwords), #10333 (Admin can not change user password), #2289 (Admin can't create new user), #4836 (logo alignment issue on new password for new user without password created), and #997 (password policy not applied when creating new user). |
@gpredl This is now possible (v14) and landed in 41b690e We discovered an issue with our custom password policy (32 characters) as the length and layout of the auto-generated password is currently hardcoded in the provisioning API. Instead it should reuse the policy like in the sharing app:
Seems like this would require some more work (making this more general and then pulling it in for different apps). |
Some idea about a workaround? |
We don't support creating users without password. |
Too bad. When authentication is provided by SSO, but users are created by API, we must create user with random password which is worst than creating an user with a blank password which not allow normal auth with it. Furthermore, it's too bad the API can not reproduce the normal behavior of the web admin interface... Could you please explain why you don't want to support it ? |
Within NC control panel it's possible to configure 'Send email to new users'. If done so, one can leave password blank when creating new user. Email for activation and password setup will be send to new user.
We'd like to create new users trough the API, without providing password, but email instead.
This is not possible trough the API.
Steps to reproduce
Expected behaviour
In control panel we've set up: Send email to new users.
As mentioned in the docs it should be possible to dismiss 'password' and use 'email' instead.
Email should be send to news users to activate account and set password.
Actual behaviour
API responds with 101: Bad request
Server configuration
Nextcloud version 13
The text was updated successfully, but these errors were encountered: