mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #782] Allow user account creation during "docker run" to allow to login when SIGNUPS_ALLOWED is false and it's the first run. #539
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#539
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @OlivierGagnon on GitHub (Dec 27, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/782
Allow user account creation thru CLI tools to allow for better security, control and batch/automation
We know that we can disable signup:
https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users
We can disable invitation:
https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-invitations
But how do we create a user account to login with when SIGNUP is disabled?
There should be a way to create users thru command line
Currently, Signup is only allowed thru the GUI, which requires a few clicks and user interaction.
What if an admin wants to create 30 user accounts? It could become tedious to do manually
Thanks!
@mprasil commented on GitHub (Dec 28, 2019):
Well if you disable invitations, there's no good way to achieve that as this is what invitations are for. But if you don't disable invitations, you can create Organization and then any email invited into Organization (which can be done by any user that has the right to do so) will be able to register even with
SIGNUPS_ALLOWED=false. That way you can disallow registration of random users, but can still let the users in a company or some other group to grow naturally as they invite each other.I believe we have documentation problem, feel free to create issues for that and we can improve the wiki as some things are obvious to us, but might not be to new users.