We\'ve added authentication to a couple of our App Services, which are .NET Core 3.1 applications.
The implementation we have in the Startup class looks
Startup