dotnet / dotnet/aspnetcore

[Performance] Authentication middleware

Open
#27,220 12 comments 21 reactions 0 assignees View on GitHub
area-auth Perf
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

- [x] Add cert support to http client load client
- [x] Add baseline scenarios for cert/jwt
- [x] Add reporting/charts for cert/jwt
- [x] Add competitive scenarios for cert/jwt for comparison
- [ ] Figure out what the target improvements/goals are
- [ ] Investigate traces and improve performance
- [x] Add scenario using https://github.com/uruk-project/Jwt/ as comparison
- [ ] Add baseline for cookie auth
- [x] Improve JwtSecurityTokenHandler.ValidateToken perf (locking?)
- [ ] Consider adding some form of caching invalid/expired certs

Improve performance characteristics of authentication middleware.

Areas of interest:

- JWT
- Certificate based authentication

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.