This is the third part of the tutorial which will cover Using Azure AD B2C tenant with ASP.NET Web API 2 and various front-end clients. Azure Active Directory B2C Overview and Policies Management – (Part 1) Secure ASP.NET Web API 2 using Azure AD B2C – (Part 2) Integrate Azure Active Directory B2C with ASP.NET MVC Web App (This […]
Secure ASP.NET Web API 2 using Azure AD B2C – Part 2
This is the second part of the tutorial which will cover Using Azure AD B2C tenant with ASP.NET Web API 2 and various front end clients. Azure Active Directory B2C Overview and Policies Management – (Part 1) Secure ASP.NET Web API 2 using Azure AD B2C – (This Post) Integrate Azure Active Directory B2C with ASP.NET MVC Web App (Part […]
Azure Active Directory B2C Overview and Policies Management – Part 1
Prior joining Microsoft I was heavily involved in architecting and building a large scale HTTP API which will be consumed by a large number of mobile application consumers on multiple platforms (iOS, Android, and Windows Phone). Securing the API and architecting the Authentication and Authorization part for the API was one of the large and challenging […]
ASP.NET Identity 2.1 Accounts Confirmation, and Password Policy Configuration – Part 2
This is the second part of Building Simple Membership system using ASP.NET Identity 2.1, ASP.NET Web API 2.2 and AngularJS. The topics we’ll cover are: Configure ASP.NET Identity with ASP.NET Web API (Accounts Management) – Part 1. ASP.NET Identity 2.1 Accounts Confirmation, and Password/User Policy Configuration – (This Post) Implement OAuth JSON Web Tokens Authentication in ASP.NET Web API and […]
ASP.NET Identity 2.1 with ASP.NET Web API 2.2 (Accounts Management) – Part 1
ASP.NET Identity 2.1 is the latest membership and identity management framework provided by Microsoft, this membership system can be plugged to any ASP.NET framework such as Web API, MVC, Web Forms, etc… In this tutorial we’ll cover how to integrate ASP.NET Identity system with ASP.NET Web API , so we can build a secure HTTP service which acts as […]
AngularJS Authentication Using Azure Active Directory Authentication Library (ADAL)
In my previous post Secure ASP.NET Web API 2 using Azure Active Directory I’ve covered how to protect Web API end points using bearer tokens issued by Azure Active Directory, and how to build a desktop application which acts as a Client. This Client gets the access token from the Authorization Server (Azure Active Directory) then use this bearer access […]
Two Factor Authentication in ASP.NET Web API & AngularJS using Google Authenticator
Last week I was looking on how to enable Two Factor Authentication in a RESTful ASP.NET Web API service using Soft Tokens not SMS. Most of the examples out there show how to implement this in MVC application where there will be some cookies transmitted between requests, this approach defeats the stateless nature of the RESTful […]
Secure ASP.NET Web API 2 using Azure Active Directory, Owin Middleware, and ADAL
Recently I’ve been asked by many blog readers on how to secure ASP.NET Web API 2 using Azure Active Directory, in other words we want to outsource the authentication part from the Web API to Microsoft Azure Active Directory (AD). We have already seen how the authentication can be done with local database accounts, and social identity providers, so in this […]
AngularJS Token Authentication using ASP.NET Web API 2, Owin, and Identity
This is the second part of AngularJS Token Authentication using ASP.NET Web API 2 and Owin middleware, you can find the first part using the link below: Token Based Authentication using ASP.NET Web API 2, Owin middleware, and ASP.NET Identity – Part 1. Enable OAuth Refresh Tokens in AngularJS App using ASP .NET Web API […]
Token Based Authentication using ASP.NET Web API 2, Owin, and Identity
Last week I was looking at the top viewed posts on my blog and I noticed that visitors are interested in the authentication part of ASP.NET Web API, CORS Support, and how to authenticate users in single page applications built with AngularJS using token based approach. So I decided to compile mini tutorial of three five posts which covers and connects those […]