Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
15 декабря 2020 г. 11:00:08
00:18:37
Яндекс.Метрика