fullstackhero / dotnet-microservices-boilerplate

The Ultimate Microservices Starter Kit for .NET Developers!
https://fullstackhero.net/dotnet-microservices-boilerplate/
502 stars 120 forks source link

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

Open santoshpatro opened 1 year ago

santoshpatro commented 1 year ago

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