Skip to content

Updating visuals

If you see any images containing outdated UI, please bear with us.

We are updating all content as quickly as possible to mirror our new UI.

Managing users ​

Users are one of, if not the most critical parts of your application, and it is key to have a solid understanding of how to view and manage them.

Visually managing users ​

To visually manage your users, go to the Users section in the Authentication subtab of Data & API.

From here, you will have a view of all the users who have been created. To find specific users, type in the Search box above the table (for example, part of an email address):

The Users section of the Authentication subtab, with the users table filtered by the Search box

Editing users ​

If you wish to edit the information of a user, you can simply double-click into a cell, update the information accordingly, then press Enter to save:

The name cell of a user being edited in the users table

You can also click the pencil icon next to a row's checkbox to edit all the fields of the user in Update User, then click Save.

Adding users ​

If you wish to add a user, you can press the Insert button in the top left, choose Insert a row, and fill in the Name, Email and Password of the new user (and optionally their Roles). Then click Insert:

The Create a User window with Name, Email, Password and Roles, and the Insert button

WHY ADD USERS MANUALLY?

Adding users manually is useful for:

  • Testing — Create test accounts with specific roles or data
  • Admin setup — Add administrator accounts before launch
  • Support — Create accounts for customers who need help signing up

Deleting users ​

If you wish to delete a user(s), you can tick the checkbox of the user(s) in the table, and then press the delete button that replaces Insert in the top left (for example, Delete 1 user):

A user ticked in the users table, and the Delete 1 user button in place of Insert

WeWeb then asks you to confirm. Click Delete to remove the user(s):

The Delete 1 user? window with the Cancel and Delete buttons

DELETING USERS IS PERMANENT

Deleted users cannot be recovered. Their authentication data, roles, and session information will be permanently removed. However, data in your tables that references their user ID will remain unless you explicitly delete it.

Managing user fields ​

Built-in fields ​

The Users table includes these built-in fields:

  • email — The user's email address (required for email-based authentication)
  • name — The name shown in the interface (optional)
  • image — Profile image URL (optional)
  • roles — Roles assigned to this user (see Managing roles)
  • providers — Which sign-in methods the user has used (for example email, google, github). This field is read-only.
  • id — Unique identifier for the user (auto-generated, read-only)
  • emailVerified — Whether the user's email has been verified
  • createdAt / updatedAt — When the user was created or last updated

To see a user's full ID, click the pencil icon next to their row: the id field is at the top of Update User. This is useful for filters and relationships (for example, filtering records by user_id to show only data owned by that user).

The Update User window of a user, with their full ID in the id field at the top

Adding custom fields ​

You can add your own columns to the Users table, the same way you add columns to a regular table. This is useful when you want to store extra profile data on the user record itself (for example company, plan, or onboarding_step).

  1. Open the Users section in the Authentication subtab of Data & API.
  2. Make sure the environment selector at the top is set to Editor environment. You can only add, edit, or remove columns in the editor environment.
  3. Click the + button at the end of the column headers.
  4. Enter a Column Name, choose a Column Type, then click Add Column.
The plus button at the end of the column headers of the users table, and the Add column panel with Column Name, Column Type and the Add Column button

Formula columns are not available on the Users table.

To change a custom field later, open the column menu and choose Edit Column. You can update its name, type, default value, constraints, and description. If the change affects values you already stored, WeWeb asks you how to handle them before applying it.

Learn how column changes affect existing data →

To delete a custom column, open the column menu and choose Delete Column. Built-in fields (like email, id, and roles) cannot be deleted, renamed, or retyped. You can only change their description. You also cannot name a custom field password, which is reserved.

USE WEWEB AI

You can also add or update custom user fields by asking WeWeb AI in Build mode. Describe what you want in everyday language, for example: "Add a company text field to my users."

WeWeb AI goes through the same review step, so it asks you to review any choice that could affect existing user information before applying the change.

Learn more about WeWeb AI →

Using custom fields ​

Custom fields you add appear in a few places:

  • In the Users table, where you can view and edit values inline or when creating a user
  • In bindings, on auth.user and currentUser (for example auth.user.company)
  • In backend workflow actions like Create user and Update user

Allowing users to sign up and log in ​

Having users sign up or log in on their own happens from inside the Interface by using the dedicated authentication actions in workflows. These actions let you build custom sign-up and login forms that fit your app's design.

Available authentication actions ​

In an Interface workflow, you will find all authentication actions under Add an action → From Authentication:

For a complete list and detailed documentation of each action, see the Email/password authentication provider.

Changing a user's password ​

As an admin ​

You can't reset a user's password directly from the Users tab. To set a new password for a user, use the Update user password action in an API Endpoint. It takes the User ID of the user and the new Password. You can then call this API Endpoint from an admin page in your app.

PASSWORD SECURITY

For security reasons, you cannot view a user's current password. You can only set a new one. WeWeb stores passwords securely using industry-standard hashing.

PROTECT THIS API ENDPOINT

An API Endpoint that changes passwords should only be available to admins. In its Security panel (the Auth button at the top of the API Endpoint), set it to Authenticated and restrict it to an admin role.

Learn more about restricting API Endpoints by role →

The Password minimum length setting does not apply to this action, so add your own check before it if you want to enforce a minimum.

Letting users change their own password ​

Users can change their own password through interface workflows using these actions:

When users sign up, change or reset their password themselves, their password must be at least as long as the Password minimum length set in the Settings tab of the Authentication subtab (8 characters by default).

When a user requests a password reset, you'll need to handle the On password reset requested Event Trigger to send them a reset link or OTP code via email.

Current user data ​

Once authenticated, the current user's information is available throughout your app via the auth data in the binding window.

Built-in fields like auth.user.email, auth.user.name, and auth.user.roles are always available. If you added custom columns to the Users table, you can access those too (for example auth.user.company).

You can bind this data to elements in your interface or use it in workflow conditions and filters.

FILTERING DATA BY USER

A common pattern is to add a user_id column to your tables (using the Link to Users column type) and filter data to show only records that belong to the current user. This ensures users only see and edit their own data.

CONTINUE LEARNING

Next, define which permissions users have in your app.

Managing roles →