fullstackhero / dotnet-microservices-boilerplate

The Ultimate Microservices Starter Kit for .NET Developers!

Home Page:https://fullstackhero.net/dotnet-microservices-boilerplate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do we still need to use app.UseAuthentication() in the UseInfrastructure method located in Extensions.cs

santoshpatro opened this issue · comments

Hi Mukesh,

Thanks a lot for sharing the dotnet-microservices-boilerplate. It has lot of useful details and lot of learning for me. Recently I was going through a video on Simplified Configuration for JWT Bearer Auth in .NET 7 (https://www.youtube.com/watch?v=osZvEAJrz1Y) where Shawn has mentioned that in .NET 7 , there is no need to have app.UseAuthentication()

I wanted to know your thoughts on the above

Any help on this request is much appreciated

Thanks,
Santosh