/AuthServer

Authentication API using Json Web Token (JWT), Facebook Graph API and AspNetCore Identity.

Primary LanguageC#

Auth Server

About

Authentication API using Json Web Token (JWT), Facebook Graph API, Apple OAuth and AspNetCore Identity.

Custom Logs using Serilog.

Documented using Swagger UI.

Json Web Token (JWT)

The JSON Web Token is an Internet standard for creating data with optional signature and/or encryption whose payload contains JSON that asserts some number of claims. Tokens are signed using a private secret or a public/private key.

Microsoft Identity

The Microsoft Identity platform helps you build applications your users and customers can sign in to using their Microsoft identities or social accounts, and provide authorized access to your own APIs or Microsoft APIs like Microsoft Graph.

Microsoft SQL Server

Microsoft SQL Server is a relational database management system developed by Sybase in partnership with Microsoft. This partnership lasted until 1994, with the release of the version for Windows NT and since then Microsoft maintains the maintenance of the product.

Swagger

Swagger is an Interface Description Language for describing RESTful APIs expressed using JSON. Swagger is used together with a set of open-source software tools to design, build, document, and use RESTful web services. Swagger includes automated documentation, code generation, and test-case generation.

Tools

  • .NET 5.0+
  • VS Code
  • Microsoft SQL Server
  • Swagger UI

How to Run

  1. Run dotnet restore
  2. Change the ConnectionString in appsettings.json
  3. Run dotnet ef migrations add {migration name}
  4. Run dotnet ef database update
  5. Run dotnet run