How to Add Basic Authentication to an ASP.NET Core Application: OAuth Security - Part 1
We have a look at integrating Basic authentication into an ASP.NET Core application.
The whole point of setting up Basic authentication is so we can use it when we set up OAuth security.
First, we have a look at how Basic authentication works, and how we can add it to the HTTP request. By adding a base 64 encode of the username and password, we can add it to the Authorization HTTP request header.
Afterwards, we go ahead and write our own attribute. This attribute will be governed by a handler that we will write specifically for Basic authentication.
Finally, we set up a new authentication scheme specifically for Basic authentication. In-addition, we will go ahead and create a new authorisation policy.
► More Information: https://www.roundthecode.com/dotnet/how-to-add-basic-authentication-to-asp-net-core-application
► OAuth Security Playlist: https://www.youtube.com/playlist?list=PLNLqfquXi7rsUte6d64NBCtGMFpCVB8a8
#aspnetcore #basicauthentication #oauth
Видео How to Add Basic Authentication to an ASP.NET Core Application: OAuth Security - Part 1 канала Round The Code
The whole point of setting up Basic authentication is so we can use it when we set up OAuth security.
First, we have a look at how Basic authentication works, and how we can add it to the HTTP request. By adding a base 64 encode of the username and password, we can add it to the Authorization HTTP request header.
Afterwards, we go ahead and write our own attribute. This attribute will be governed by a handler that we will write specifically for Basic authentication.
Finally, we set up a new authentication scheme specifically for Basic authentication. In-addition, we will go ahead and create a new authorisation policy.
► More Information: https://www.roundthecode.com/dotnet/how-to-add-basic-authentication-to-asp-net-core-application
► OAuth Security Playlist: https://www.youtube.com/playlist?list=PLNLqfquXi7rsUte6d64NBCtGMFpCVB8a8
#aspnetcore #basicauthentication #oauth
Видео How to Add Basic Authentication to an ASP.NET Core Application: OAuth Security - Part 1 канала Round The Code
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![MVC Login and Registration with Identity - Identity Customization - .NET Core 6 - Part 1](https://i.ytimg.com/vi/I-ZzFLruiuo/default.jpg)
![Asp.net Core Azure AD | Azure Ad Authentication](https://i.ytimg.com/vi/ZO7C6YmalXg/default.jpg)
![Difference between cookies, session and tokens](https://i.ytimg.com/vi/GhrvZ5nUWNg/default.jpg)
![Claims based authorization in asp net core](https://i.ytimg.com/vi/LJQBBvJ6tL0/default.jpg)
![HTTP Basic Authentication explained | HTTP authentication for client/server to server communication](https://i.ytimg.com/vi/EeNzWUcPaFY/default.jpg)
![Asymmetric Encryption - Simply explained](https://i.ytimg.com/vi/AQDCe585Lnc/default.jpg)
![OAuth: A Tale of Two Servers](https://i.ytimg.com/vi/tFYrq3d54Dc/default.jpg)
![Basic Authentication in API Swagger | Protect API with Basic Authentication in .Net 6.0](https://i.ytimg.com/vi/CoRJKmDKFTk/default.jpg)
![ASP.NET Core Identity - Authentication and Authorization in ASP.NET Core - Login and Registration](https://i.ytimg.com/vi/B0_gM-wBlmE/default.jpg)
![Аутентификация: EntityFrameworkCore + Microsoft Identity](https://i.ytimg.com/vi/e1sgY_luuVs/default.jpg)
![Inside a Google data center](https://i.ytimg.com/vi/XZmGGAbHqa0/default.jpg)
![ASP NET Web API google authentication](https://i.ytimg.com/vi/WsRyvWvo4EI/default.jpg)
![What is Base64?](https://i.ytimg.com/vi/8qkxeZmKmOY/default.jpg)
![Serialize objects to JSON and save to database in ASP.NET in C# part 1](https://i.ytimg.com/vi/XkMIh8WM9e4/default.jpg)
![.NET logging: Setup, configure and write a log with ILogger (uses .NET Core)](https://i.ytimg.com/vi/NN9Rmf0PUG4/default.jpg)
![Get Current Logged In UserId of User in ASP.NET CORE Identity](https://i.ytimg.com/vi/OP_KDWlAgCQ/default.jpg)
![How to use Microsoft Identity (Azure AD) to Authenticate Your Users](https://i.ytimg.com/vi/30B7efdpNxI/default.jpg)
![Authentication & Authorization in ASP.NET MVC | ASP.NET MVC | DotNET Sessions](https://i.ytimg.com/vi/dbeMlkYtigw/default.jpg)
![ASP.NET Core Web API + Entity Framework Core : Basic Authentication Explained - EP07](https://i.ytimg.com/vi/6X6iONXhz2w/default.jpg)
![Token based authentication (JWT) in Web API and MVC](https://i.ytimg.com/vi/AUbGk5Ab40A/default.jpg)