An open API service indexing awesome lists of open source software.

https://github.com/angelodotnet/net8-sampleauthjwt

Example that simplifies the creation of endpoints for Microsoft Identity authentication with JWT token, developing with Minimal API (instead of controllers).
https://github.com/angelodotnet/net8-sampleauthjwt

Last synced: 4 months ago
JSON representation

Example that simplifies the creation of endpoints for Microsoft Identity authentication with JWT token, developing with Minimal API (instead of controllers).

Awesome Lists containing this project

README

          

# NET8 - Sample Authentication with Token JWT

About
Example that simplifies the creation of endpoints for Microsoft Identity authentication with JWT token, developing with Minimal API (instead of controllers).

This template was created using Marco Minerva's repositories as an example

- https://github.com/marcominerva/SimpleAuthentication
- https://github.com/marcominerva/TwoFactorAuthenticationSample)

## Installation

Apply migrations for the database from the Package Manager Console

```bash
Update-Database -Context ApplicationDbContext -Project SampleAuthJWT.DataAccessLayer
```