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 […]
ASP.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 Google+ external providers, then we’ll associate those authenticated social accounts with local accounts. Once we complete the implementation in this post we’ll have an […]
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 tutorial. To be honest adding support for refresh tokens adds a noticeable level of complexity to your Authorization Server. As well most of the available resources on […]
AngularJS Authentication with Auth0 & ASP .Net OWIN
This is guest post written originally to Auth0. Recently I’ve blogged about using tokens to authenticate users in single page applications, I’ve used ASP.NET Web API, Owin middleware and ASP.NET Identity to store local accounts in database, I didn’t tap into social identity logins such as (Google, Microsoft Accounts, Facebook, etc..) because each provider will not supply the same information […]
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 […]
AngularJS with touch of GulpJS
Last week I was working on AngularJS project which contains multiple JavaScript files (controllers, services, directives, etc…), good number of HTML partials, and some custom CSS files. This project started to grow and the number of JavaScript files and HTML partials started to increase quickly. I felt it is the right time to start minifing, […]
Building SPA using AngularJS – Part 3
This is the third part of Building SPA using AngularJS Series. The topics we’ll cover are: Building SPA using AngularJS – Part 1 Building SPA using AngularJS – Part 2 Building SPA using AngularJS – Part 3 (This Post) Update (2014-May-5) New post which covers adding GulpJS as Task Runner for our AngularJS application: AngularJS […]
Building SPA using AngularJS – Part 2
This is the second part of Building SPA using AngularJS Series. The topics we’ll cover are: Building SPA using AngularJS – Part 1 Building SPA using AngularJS – Part 2 (This Post) Building SPA using AngularJS – Part 3 Update (2014-May-5) New post which covers adding GulpJS as Task Runner for our AngularJS application: AngularJS with […]
Building SPA using AngularJS – Part 1
This is the first part of Building SPA using AngularJS Series. The topics we’ll cover are: Building SPA using AngularJS – Part 1 (This Post) Building SPA using AngularJS – Part 2 Building SPA using AngularJS – Part 3 Update (2014-May-5) New post which covers adding GulpJS as Task Runner for our AngularJS application: AngularJS with […]