Enable OAuth Refresh Tokens in AngularJS App using ASP .NET Web API 2, and Owin
After my previous Token Based Authentication post I’ve received many requests to add OAuth Refresh Tokens to the OAuth Resource Owner Password Credentials flow which I’m currently using in the previous...
View ArticleASP.NET Web API 2 external logins with Facebook and Google in AngularJS app
Ok so it is time to enable ASP.NET Web API 2 external logins such as Facebook & Google then consume this in our AngularJS application. In this post we’ll add support to login using Facebook and...
View ArticleASP.NET Web API Documentation using Swagger
Recently I was working on designing and implementing a large scale RESTful API using ASP.NET Web API, this RESTful API contains large number of endpoints with different data models used in the...
View ArticleSecure 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...
View ArticleDecouple OWIN Authorization Server from Resource Server
Recently I’ve received lot of comments and emails asking how we can decouple the OWIN Authorization Server we’ve built in the previous posts from the resources we are protecting. If you are following...
View ArticleTwo Factor Authentication in ASP.NET Web API & AngularJS using Google...
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...
View ArticleJSON Web Token in ASP.NET Web API 2 using Owin
In the previous post Decouple OWIN Authorization Server from Resource Server we saw how we can separate the Authorization Server and the Resource Server by unifying the “decryptionKey” and...
View ArticleGetting started with ASP.NET 5 MVC 6 Web API & Entity Framework 7
One of the main new features of ASP.NET 5 is unifying the programming model and combining MVC, Web API, and Web Pages in single framework called MVC 6. In previous versions of ASP.NET (MVC 4, and MVC...
View ArticleAngularJS Authentication Using Azure Active Directory Authentication Library...
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...
View ArticleSecure ASP.NET Web API using API Key Authentication – HMAC Authentication
Recently I was working on securing ASP.NET Web API HTTP service that will be consumed by a large number of terminal devices installed securely in different physical locations, the main requirement was...
View ArticleASP.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,...
View ArticleASP.NET Identity 2.1 Accounts Confirmation, and Password Policy Configuration...
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...
View ArticleImplement OAuth JSON Web Tokens Authentication in ASP.NET Web API and...
This is the third 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...
View ArticleASP.NET Identity 2.1 Roles Based Authorization with ASP.NET Web API – Part 4
This is the forth 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...
View ArticleASP.NET Web API Claims Authorization with ASP.NET Identity 2.1 – Part 5
This is the fifth 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...
View ArticleAzure 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,...
View ArticleIntegrate Azure AD B2C with ASP.NET MVC Web App – Part 3
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 –...
View Article