KB#0003: Cannot login with the admin user

Use the Correct Username and Password

You may have entered the wrong password. The username is admin, and the password is 1q2w3E*. Note that the password is case-sensitive.

Forgot to Seed Initial Data

You may need to add migrations and update the database using the EF Core CLI. If your solution includes a DbMigrator application, you must run the DbMigrator application to seed the initial data.

If your project does not include a DbMigrator application, there might be a migrate-database.ps1 script available. You can use it to migrate and seed the initial data.

The no-layer application typically support a --migrate-database option for migrating and seeding initial data.

Example:

dotnet run --migrate-database

Tenant Admin User

If you cannot log in as a tenant admin user, ensure the tenant database is created and seeded, Use the password that was set during tenant creation.

The tenant seeding process is handled by the template project. If it is not completed, please check the Logs file for any error logs.

Check the AbpUsers Table

If you have performed migration and seeded the initial data, check the AbpUsers table in the database. Ensure that the user record exists. If your tenant has a separate database, check the tenant database as well.

Passwords are stored in hashed format, not plain text. If you suspect the password is incorrect, you can delete the user record and re-seed the initial data using the DbMigrator application or the migrate-database.ps1 script.

Other Issues

If the issue persists, refer to the README.MD file in your solution or consult the Getting Started documentation.

Feel free to create an issue in the ABP GitHub repository or contact ABP Commercial Support for assistance.

Contributors


Last updated: January 15, 2025 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Community Talks

Deep Dive #1: Identity&Account Modules

17 Apr, 17:00
Online
Watch the Event
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book