JwtAuth is a C# project developed with ASP.NET Core 8 that demonstrates JSON Web Token (JWT) based authentication and authorization using Clean Architecture principles. This project includes Entity Framework Core for data access and management, providing a secure and scalable approach for handling user authentication and role-based access.
- JWT Authentication: Secure user login and token generation.
- Role-based Authorization: Control access to resources based on user roles.
- Clean Architecture: Organized into layers for better separation of concerns and maintainability.
- Entity Framework Core Integration: Manage data with EF Core, including migrations and database updates.
- Token Validation Middleware: Validate JWT tokens in API requests to ensure secure access.
- Scalable and Extensible: Easily integrate and expand within existing ASP.NET Core applications.
- .NET SDK 8.0 or higher
- An IDE like Visual Studio 2022 or later, or Visual Studio Code
- Clone the Repository:
git clone https://github.com/aminltf/JwtAuth.git cd JwtAuth