C#C
C#3y ago
acookook

JWT implementation with .net 7.0 with Carter

I am trying to get some basic authorization to work also using the Carter nuget package. I simply cannot get the jwt authorization working. I'd also like to read data from the jwt, to use the data in my minimal API endpoints.
All the relevant files I posted on gist, any suggestions or improvements are welcome.
https://gist.github.com/shanji97/19022c72218e07e692667c1042223903
Gist
Swagger issue. GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?