Skip to content

net 9 API authentication and role based authorization with JWT, Refresh Token, Identity & SQL Server

Notifications You must be signed in to change notification settings

rd003/DotnetApiCompleteAuth

Repository files navigation

Complete authentication solution for .net core (9.0) APIs

It is a source code of my youtube video tutorial which you can find here.

Topics covered

  • Login
  • Signup
  • Role based auth
  • JWT
  • Refresh Token

Tech used

  • .NET Cli
  • .NET 9.0
  • EF Core 9.0
  • AspNetCore Identity
  • SQL Server 2022

How to run

It is very simple. Change ConnectionString and run the project using dotnet run. When you run this command:

  • It creates a database with tables
  • It create an entry from admin (Username: [email protected], Password: Admin@123)
  • Have a fun

Leave a star in this repo if you like my work.

🌟 Connect with me

☕Support my work

About

net 9 API authentication and role based authorization with JWT, Refresh Token, Identity & SQL Server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages