dotnet / dotnet/AspNetCore.Docs

Add proper documentation for using JWT authentication

Open
#35,828 1 comment 0 reactions 0 assignees View on GitHub
:watch: Not Triaged
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

### Describe the issue or suggestion

Today if I go to asp.net core docs I can't find any good nformation on how JWT-based authentication can be implemented in asp.net core application. Why is that? For APIs most people prefer JWT. Also, it is hard to implement JWT-based authentication in asp.net core compared to other frameworks. So there should be good documentation to guide beginners.

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: 3a9d7eb8-6c1f-4619-00fa-9b69dbe3dcea
* Version Independent ID: 3a9d7eb8-6c1f-4619-00fa-9b69dbe3dcea
* Platform ID: d905a302-a7a8-ce53-f765-5ab6bef661e7
* Content: [Authentication and authorization in minimal APIs](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/security?view=aspnetcore-9.0)
* Content Source: [aspnetcore/fundamentals/minimal-apis/security.md](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/minimal-apis/security.md)
* Service: **aspnet-core**
* Sub-service: **fundamentals**
* GitHub Login: @captainsafia
* Microsoft Alias: **safia**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.