I want to add Authentication with GitHub to my Asp Net Core 6 project, but everything I find in the Internet is for older versions of Asp Net. How can I add it?
I added the Microsoft.AspNetCore.Authentication.OAuth package to my project and created an Github OAuth application. I also added the client id and client secret with
dotnet user-secrets set Github:ClientId <clientid>
dotnet user-secrets set Github:ClientSecret <clientsecret>
I searched for tutorials online, but there are only tutorials using a Asp Net Version that is less than 6.