Introduction In this article, we will create a web application using ASP.NET Core and Angular. We will then implement authentication and policy-based authorization in the application with the help of JWT. The web application will have two roles – Admin and User. The application will have role-based access for each role. We will learn how […]
Tag: Authentication
Facebook Authentication And Authorization In Server-Side Blazor App
Introduction The latest preview for .NET Core 3 (preview-6) has introduced the functionality to add authentication and authorization in a server-side Blazor application. In this article, we will learn how to implement authentication and authorization using Facebook in a server-side Blazor application. You can refer to my previous article Understanding Server-side Blazor to get in-depth […]
Google Authentication And Authorization In Server-Side Blazor App
Introduction The latest preview for .NET Core 3 (preview-6) has introduced the functionality to add authentication and authorization in a server-side Blazor application. In this article, we will learn how to implement authentication and authorization using Google in a server-side Blazor application. You can refer to my previous article Understanding Server-side Blazor to get in-depth […]
ASP.NET Core – Two Factor Authentication Using Google Authenticator
Introduction In this article, we are going to learn how to perform two-factor authentication in an ASP.NET Core application using Google Authenticator app. The user needs to configure the Google Authenticator app on his/her smartphone using the QR code generated in the web app. At the time of logging in to the web application, a […]
Authentication Using Facebook In ASP.NET Core 2.0
Introduction Sometimes, we want the users to log in using their existing credentials of third-party applications such as Facebook, Twitter, Google etc. into our application. In this article, we are going to look into authentication of ASP.NET Core app using a Facebook account. Prerequisites Install .NET Core 2.0.0 or above SDK from here. Install the latest […]
Authentication Using LinkedIn In ASP.NET Core 2.0
Introduction Sometimes, we want the users to log in using their existing credentials of third-party applications, such as Facebook, Twitter, Google, LinkedIn etc. into our application. In this article, we are going to look into the authentication of ASP.NET Core app using a LinkedIn account. Prerequisites Install .NET Core 2.0.0 or above SDK from here. Install […]
Authentication Using Google In ASP.NET Core 2.0
Introduction Sometimes, we want the users to log in using their existing credentials of third-party applications, such as Facebook, Twitter, Google etc. into our application. In this article, we are going to look into authentication of ASP.NET Core app using a Google account. Prerequisites Install .NET Core 2.0.0 or above SDK from here. Install the latest […]
Authentication Using Twitter In ASP.NET Core 2.0
Introduction Sometimes, we want the users to log in using their existing credentials of third-party applications such as Facebook, Twitter, Google etc. into our application. In this article, we are going to look into authentication of ASP.NET Core app using Twitter. Prerequisites Install .NET Core 2.0.0 or above SDK from here. Install the latest version of […]
Cookie Authentication With ASP.NET Core 2.0
Introduction Authentication is an integral part of web security. ASP.NET Core provides multiple ways to implement authentication in a web application. In this article we will be looking into such a technique – Cookie authentication. We will be creating a web application to register new users and then implement a login page which allows only […]