first 45 seconds and this guy already has a better video than most people out there on basic authentication. why is that so? Thank you so much. you do an awesome job with the necessary info upfront and than examples. I will be passing your videos around to colleges
@@scriptbytes im glad. ill probably be following up more on your videos. I have 4 years of experience but its just a breathe of everything that is happening in .NET land. Thanks for making this video. It saved my butt in terms of fast onboarding and understanding of basic auth. On top of it all the github repo was very easy to follow and going out of your way to demo was God Sent. Thank you so much
Sorry! I updated the github link so it's there now. One example of when you could use Basic Authentication is for an Email service. You might have a bunch of apps that need to send emails, so create a single API that your apps can call and send emails with. This Email service is now the only piece of code interacting with whatever the email client is. Each of those apps would need to send the Authorization header with the correct credentials in order to send an email. This is a good idea if 1. You are using 3rd party services in a lot of apps (like email, payment processing, etc) and 2. Those 3rd party services might change frequently. For example if you wan to change who you send emails with, you would only need to update your one Email service, and not all the apps that use it.
I don’t think Basic Auth is the thing to use with AD as your authentication method. I’ve never used AD as my means of auth for a new .net app, but I did find this article that talks about it: learn.microsoft.com/en-us/aspnet/core/security/authentication/windowsauth?view=aspnetcore-8.0&tabs=visual-studio