App Authentication
Managing App Users
When your app supports user registration, people who sign up become app users. Webase provides tools to view, manage, and understand who is using your published application.
Viewing Registered Users
The Application Editor includes a user management section where you can see everyone who has registered for your app. Each user entry shows:
- Name and email — The information the user provided during registration.
- Registration date — When the user signed up for your app.
- Activity — A summary of when the user last interacted with your app.
Access User Management
Open your app in the Application Editor and navigate to the Users section. This displays a list of all registered users for your app.
Review User Details
Click on any user to see their full profile, including registration details and any data they have created within your app.
Deleting Users
If you need to remove a user from your app, you can delete their account from the user management section. This removes their profile and authentication credentials.
Note: Deleting a user removes their ability to log in. Data records they created may still exist in your data models. Consider whether you need to clean up associated records as well.
Created-By Tracking
When users create records in your app, Webase tracks which user created each record using a created_by field. This enables several useful patterns:
- Ownership — Show users only the records they created, or let them manage their own content.
- Audit trails — Know who added each record for accountability and tracking.
- Personalization — Display personalized views based on the logged-in user's data.
You can ask the AI to use the created_by field in your app's logic. For example: "Only show tasks created by the current user" or "Display the author's name on each blog post."
User Authentication in Generated Apps
If your app needs user accounts, the AI can set up registration, login, and session management as part of the generated code. Users of your published app will have their own accounts separate from your Webase account.
- Registration — A sign-up form where new users create an account.
- Login/Logout — Session management so users can sign in and out.
- Protected routes — Pages that require authentication to access.
Tip: To add user authentication, describe it when creating your app or ask the AI later: "Add user registration and login. Only logged-in users should be able to create and edit records."