This example illustrates how to establish JWT token-based authentication in an ASP.NET Core Identity project using ASP.NET Core 8.
- Register: Create new user accounts.
- Login: Log in and receive a JWT token.
- Refresh Token: Renew tokens without re-login.
- Profile: Access user-specific information.
To add migrations, use the following command:
dotnet ef migrations add Initial --project src/data --startup-project src/api
To add Update Database, use the following command:
dotnet ef database update --project src/data --startup-project src/api
If you are having problems, please let me know by raising a new issue.
This project is licensed with the MIT license.