Skip to content

A single AuthServer project providing authentication across multiple applications / JSON Web Token Autharization.

Notifications You must be signed in to change notification settings

fahrigedik/NetCore-JWT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

.NET Core JWT Authentication Project

This project is a sample application that provides token-based authentication using .NET Core and JWT (JSON Web Token). It integrates with ASP.NET Core Identity and offers features such as user management, role-based authorization, and API protection.

Features

  • JWT-based authentication: Uses JWT to verify user credentials and provide secure access.
  • User management: Integrates with ASP.NET Core Identity to provide user registration, login, and password management.
  • Role-based authorization: Control API access by assigning roles to users.
  • API protection: Secures your APIs against unauthorized access.
  • Refresh token support: Includes a refresh token mechanism for long-lived sessions.
  • Built with .NET Core: Runs on a modern and performant platform.
  • Easy configuration: Easily customize project settings and authentication policies.

Technologies Used

  • .NET Core
  • ASP.NET Core Identity
  • Entity Framework Core
  • JWT (JSON Web Token)

Installation

  1. Clone the repository: git clone https://github.com/your-username/JWTAuthProject.git
  2. Install the required dependencies: dotnet restore
  3. Configure the database settings in the appsettings.json file.
  4. Run database migrations: dotnet ef database update
  5. Run the project: dotnet run

Usage

This project can be used as an authentication server for your APIs. Your applications can send requests to authenticate users and obtain access tokens.

Contributing

If you would like to contribute to the project, please submit a pull request.

License

This project is licensed under the MIT License.

About

A single AuthServer project providing authentication across multiple applications / JSON Web Token Autharization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages