In this tutorial, we are going to cover a web api token based authentication example using JWT in Asp.Net Core 5 using visual studio 2019. So, first-of-all, we will create a new Asp.Net Core 5 web API project and then we will see how to implement Microsoft Identity and then finally we will see how to implement token based authentication using JWT in Asp.Net Core 5 web API app.
[Read more…]Key Vault secrets in Asp.Net Core 3.1
In this tutorial, we are going to discuss Azure Key Vault secrets using Asp.Net Core 3.1 web application. Azure Key Vault is a tool where we can store and access secrets. The purpose of Key Vault is to store sensitive information like API keys, Authenticated Token Keys, Database Connection strings and etc. This is the best cloud-based solution for Azure web Apps.
[Read more…]JWT Authentication in Asp.Net Core 3.1
In this tutorial, we are going to cover jwt authentication in Asp.Net Core 3.1 web api in visual studio code. We will see how to implement identity, and then we will see how to implement token based authentication in Asp.Net Core 3.1 web API, and then finally we will test our API using postman.
[Read more…]Role Based Authorization in Asp.Net Core 3.0
In this tutorial, we are going to cover a simple example of how to implement Role Based Authorization / access control in Asp.Net Core 3.0 using visual studio 2019. In one of the previous tutorials, we have discussed Asp.Net Core 3.0 web API token based authentication example using JWT. So, now first-of-all, we will create Asp.Net Core 3.0 application, and then we will add identity to our application and then we will register users and then we will see how to create roles and then finally we will see how to authorize pages.
[Read more…]How to add Facebook login to Asp.Net Core 3.0 app using VS2019
In this tutorial, we are going to cover how to add Facebook login to Asp.Net Core 3.0 app using Visual Studio 2019. So, it will enable users to login with their Facebook account in Asp.Net Core 3.0 application. So, first-of-all, we will create an app in Facebook developer account and then we will create a new Asp.Net Core 3.0 application using Visual Studio 2019 and then we will configure the Facebook app with Asp.Net Core 3.0 app and then finally we will see how it works.
[Read more…]How to add Authentication to React app using Asp.Net Core 3 in VS2019
In this tutorial, we are going to cover a very simple example on how to add authentication to React app using Asp.Net Core 3 application in visual studio 2019. Asp.Net Core 3 offers authentication in single page application using the support of Asp.Net Core Identity. So, in this tutorial, we will create an React app with authentication using Asp.Net Core 3 and then we will see how it works.
[Read more…]How to add Authentication to Angular 7 and Asp.Net Core 3 using VS2019
In this tutorial, we are going to cover a very simple example on how to add authentication to Angular 7 app using Asp.Net Core 3 application in visual studio 2019. Asp.Net Core 3 offers authentication in single page application using the support of Asp.Net Core Identity. So, in this tutorial, we will create an Angular 7 app with authentication using Asp.Net Core 3 and then we will see how it works.
[Read more…]Asp Net Core 3.0 web API token based authentication example using JWT in VS2019
In this tutorial, we are going to cover web api token based authentication example using JWT in Asp Net Core 3.0 with Visual Studio 2019 preview. We will build it from scratch. So, First-of-all, we will create a new Asp Net Core 3.0 web API project, and then we will implement Microsoft Identity and then finally we will implement token based authentication using JWT in Asp Net Core 3.0 web API application.
[Read more…]How to add two factor authentication (2fa) in angular 7 using firebase
In this tutorial, we are going to cover Two Factor Authentication ( 2fa ) in Angular 7 using Firebase. Firebase is a mobile and web app development platform that provide us lots of tools and services to help us develop high quality mobile and web applications. But now in this tutorial, we will use Phone Authentication service to add two factor authentication in angular 7 application.
Two Factor Authentication (2fa) in Angular 6 using Facebook Account Kit
In this tutorial, we are going to cover Two Factor Authentication ( 2fa ) in Angular 6 using Facebook Account Kit. Using facebook account kit, you can authenticate your users by their phone numbers (SMS or Whatsapp), or by their Email Addresses.
[Read more…]