Back

[SOLVED]Can I Invite User to Organization Without SMTP

  • 0
  • Self Hosted
Milukun
25 May, 2023, 14:02

I want to invite another tech to join the Organization of appwrite, not a team of a project.

Or if I want two Admin accounts, registering directly will result in an exception: {"message": "The current project has exceeded the maximum number of users: {"message": "The current project has exceeded the maximum number of users. please check your user limit in the Appwrite console.", "code":501, "type":" user_count_exceeded", "version": "1.3.4"}

Is there any way to add Admin users with any email address without using SMTP?

TL;DR
User wants to invite a user to their Appwrite organization without using SMTP. Solutions provided are: 1. Manually invite the user to the organization and set the confirm column in the _console_memberships table to 1 in the Appwrite MariaDB Database. 2. Edit the _APP_CONSOLE_WHITELIST_ROOT variable in the .env file to "disabled" and then run "docker compose up -d" to create more admins through the Signup form. Change it back to "enabled" after adding admins. 3. The user should check the user limit in the Appwrite console and ensure it has not been exceeded. 4.
Binyamin
25 May, 2023, 14:03

Is this self-hosted Appwrite?

Binyamin
25 May, 2023, 14:05

In your .env file edit the _APP_CONSOLE_WHITELIST_ROOT change it to disabled.

TypeScript
_APP_CONSOLE_WHITELIST_ROOT=disabled

Then run

TypeScript
docker compose up -d

Doing so will let you create more admins through the Signup form.

After you've done it's best to change back to enabled

You can find all variables here. https://appwrite.io/docs/environment-variables#general

Milukun
25 May, 2023, 14:07

Thank you for your quick response!

Milukun
25 May, 2023, 14:07

[Closed]Can I Invite User to Organization Without SMTP

Milukun
25 May, 2023, 14:08

[SOLVED]Can I Invite User to Organization Without SMTP

Milukun
25 May, 2023, 14:18

It has been successfully registered, but the problem is still unresolved. After registering and logging in is a brand new app write backend, how should I add this account to the Organizations I created to manage the project together?

Binyamin
25 May, 2023, 14:23

So you'll need to some of the part manually.

  • Invite the user to your organization.
  • Then connect to your Appwrite MariaDB Database.
  • Look for a table named _console_memeberships and set the confirm column to 1

Use this gist to learn how to access your Appwrite MariaDB database. https://gist.github.com/byawitz/885510a4d9789e97424337e9472276d7

Binyamin
25 May, 2023, 14:23
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more