From c9db911baf86be44e2d875dd26303b1fb937949b Mon Sep 17 00:00:00 2001 From: or-else Date: Sun, 28 Jan 2024 13:39:20 -0800 Subject: [PATCH] instructions on creating a private installation --- docs/faq.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 86e0a3a07..e9b8bd1af 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -59,6 +59,10 @@ See more info at https://github.com/tinode/ios/#push_notifications * If the user already exists in an external database, the Tinode account can be automatically created on the first login using the [rest authenticator](../server/auth/rest/). +### Q: How do I make my installation private?
+**A**: If you want to restrict registrations to only those people whom you approve, then the simplest way is to restrict Tinode registrations to an email domain you control: register a custom domain, set up a catch-all email forwarding service at your domain registrar (usually free). Then use your domain name in Tinode config (`"acc_validation" -> "email" -> "domains"`, for example `"domains": ["my-domain.com"]`). You will receive registration emails at your catch-all email box and you will be able to forward validation codes to your users manually. Alternatively, if you have a lot of users, you can use [rest authenticator](../server/auth/rest/). + + ### Q: How to create a `root` user?
**A**: Starting with Tinode version 0.18 the `root` access can be granted to a user by running the following command: ```sh