mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #516] How can I create user? #325
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#325
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 @lukasmrtvy on GitHub (Jun 28, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/516
How can I create user if I am running bitwarden_rs with
SIGNUPS_ALLOWED=falseandINVITATIONS_ALLOWED=false?Should I run it without
SIGNUPS_ALLOWED=false, create user and then ..with admin panel disable signups?@dani-garcia commented on GitHub (Jun 28, 2019):
That's probably the way to go yeah. If you leave invitations open, you can also invite yourself from the admin panel, without keeping signups open to everyone.
@lukasmrtvy commented on GitHub (Aug 6, 2019):
@dani-garcia something like:
BW_EMAILandBW_PASSWORD/BW_GENERATE_PASSWORDenv variables would be superusefull to create initial admin user.Thanks
@dani-garcia commented on GitHub (Aug 6, 2019):
The problem with that is we would have to implement the password hashing and encryption key creation, which at the moment is entirely done on the client.
Another option to make sure the server is not exposed to the web before being configured is starting it with ROCKET_ADDRESS=localhost, which would only accept connections from the local machine.
@lukasmrtvy commented on GitHub (Aug 6, 2019):
And what about generating some unique URL, which will provide one click registration. ( It can be sent to mail, if SMTP vars will be defined, or may be visible in /admin or in log output )
@dani-garcia commented on GitHub (Aug 6, 2019):
It could be a good idea, but it probably requires modifying the clients to allow sending an extra field while registering.