Learn about managing authentication entities within the Amplication platform.
User
entity as the Authentication entity.
When you enable an authentication plugin, Amplication automatically creates this User
entity (or prompts you to create it) with all the necessary fields.
You can also use your own custom entity, as long as it includes the required fields.User
entity doesn’t perfectly fit your data model.
Go to Resource Settings
Access Authentication Entity Settings
Select New Entity
Navigate to Entities
Create New Entity
User
➔ Click Create EntityRestore Default Fields
Field | Required | Unique | Description |
---|---|---|---|
id | Yes | Yes | Auto-generated unique identifier |
createdAt | Yes | No | Automatic timestamp on creation |
updatedAt | Yes | No | Automatic timestamp on modification |
username | Yes | Yes | Login identifier (searchable) |
email | Yes | Yes | User’s email address (searchable) |
password | Yes | No | Securely hashed credentials |
roles | Yes | No | Permission group assignments |
firstName | No | No | User’s first name (searchable) |
lastName | No | No | User’s last name (searchable) |
User
entity, Amplication automatically sets these up for you.Disable Authentication Plugin
Navigate to Entities
Delete Entity