u/Konfirmin r/dotnet • Recommends
On “Adding authentication to .net core web api”
Recently I've faced the same issue - Microsoft's documentation on the topic is hardly helpful. I was able to implement a solution generally similar to the idea you described using these Nick Chapsas' guides. While they might not be the most up-to-date or in-depth, they are not outdated either (worked fine with .NET 7), got the job done and did it for free.