Bit of Technology

  • Archive
  • About Me
    • Advertise
    • Disclaimer
  • Speaking
  • Contact

Secure ASP.NET Web API using API Key Authentication – HMAC Authentication

December 15, 2014 By Taiseer Joudeh 179 Comments

Web API Security

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 to authenticate calls originating from … [Continue reading]

Filed Under: ASP.Net Web API, RESTful API, Web API Security, Web API Tutorial Tagged With: API Key, HMAC Authentication, OAuth 1.0, RESTful, Web API Security

AngularJS Authentication Using Azure Active Directory Authentication Library (ADAL)

December 2, 2014 By Taiseer Joudeh 57 Comments

Azure Active Directory Web Api

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 … [Continue reading]

Filed Under: AngularJS, ASP.Net Web API, Azure, Owin, Web API Security, Web API Tutorial Tagged With: AngularJS, API, OAuth, Tutorial, Web API, Web API Security

Getting started with ASP.NET 5 MVC 6 Web API & Entity Framework 7

November 18, 2014 By Taiseer Joudeh 45 Comments

ASP.NET 5

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 5) there were overlapping in the features between … [Continue reading]

Filed Under: ASP.NET, ASP.NET 5, ASP.Net Web API, MVC 6, RESTful API, Web API Tutorial Tagged With: ASP.Net 5, Entity Framework 7, MVC 6, RESTful, Web API

JSON Web Token in ASP.NET Web API 2 using Owin

October 27, 2014 By Taiseer Joudeh 332 Comments

Featured Image

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 "validationKey" key values in machineKey node in … [Continue reading]

Filed Under: ASP.NET, ASP.Net Web API, Owin, RESTful API, Web API Security, Web API Tutorial Tagged With: ASP.NET, Autherization Server, JSON Web Tokens, JWT, OAuth, Resource Server, RESTful. Web API, Web API Security

Two Factor Authentication in ASP.NET Web API & AngularJS using Google Authenticator

October 15, 2014 By Taiseer Joudeh 46 Comments

TFA Featured Image

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 … [Continue reading]

Filed Under: AngularJS, ASP.NET, ASP.NET Identity, ASP.Net Web API, Owin, RESTful API, Single Page Applications, Web API Tutorial Tagged With: AngularJS, ASP.NET, Google Authenticator, Identity, TFA, Tutorial, Two Factor Authentication, Web API

Decouple OWIN Authorization Server from Resource Server

September 24, 2014 By Taiseer Joudeh 275 Comments

OAuth 2.0 Roles

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 the posts mentioned below you will notice that … [Continue reading]

Filed Under: ASP.Net Web API, CodeProject, Owin, RESTful API, Web API Tutorial Tagged With: ASP.NET, Autherization Server, OAuth, Resource Server, RESTful, Web API, Web API Security

Secure ASP.NET Web API 2 using Azure Active Directory, Owin Middleware, and ADAL

September 12, 2014 By Taiseer Joudeh 54 Comments

Azure Active Directory Web Api

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 … [Continue reading]

Filed Under: ASP.NET, ASP.Net Web API, Azure, RESTful API Tagged With: Azure Active Directory, Token Authentication, Tutorial, Web API 2, Web API Security

ASP.NET Web API Documentation using Swagger

August 25, 2014 By Taiseer Joudeh 120 Comments

Asp.Net Web Api 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 request/response payloads. Proper documentation and … [Continue reading]

Filed Under: ASP.Net Web API, RESTful API Tagged With: Documentation, Swagger, Swagger-ui, Swashbuckle

ASP.NET Web API 2 external logins with Facebook and Google in AngularJS app

August 11, 2014 By Taiseer Joudeh 457 Comments

AngularJs External Logins

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 … [Continue reading]

Filed Under: AngularJS, ASP.NET, ASP.Net Web API, RESTful API, Single Page Applications, Uncategorized, Web API Tutorial Tagged With: AngularJS, ASP.NET, External Login, Facebook, Google, OAuth, Social Login, SPA, Token Authentication, Web API

Enable OAuth Refresh Tokens in AngularJS App using ASP .NET Web API 2, and Owin

July 16, 2014 By Taiseer Joudeh 730 Comments

AngularJS OAuth Refresh Tokens

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 … [Continue reading]

Filed Under: AngularJS, ASP.NET, ASP.NET Identity, ASP.Net Web API, Owin, RESTful API, Single Page Applications, Web API Tutorial Tagged With: AngularJS, ASP.NET, OAuth, Refresh Tokens, SPA, Token Authentication, Web API

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next Page »

About Taiseer

Husband, Father, Consultant @ MSFT, Life Time Learner... Read More…

Buy me a coffeeBuy me a coffee

Recent Posts

  • Integrate Azure AD B2C with ASP.NET MVC Web App – Part 3
  • Secure ASP.NET Web API 2 using Azure AD B2C – Part 2
  • Azure Active Directory B2C Overview and Policies Management – Part 1
  • ASP.NET Web API Claims Authorization with ASP.NET Identity 2.1 – Part 5
  • ASP.NET Identity 2.1 Roles Based Authorization with ASP.NET Web API – Part 4

Blog Archives

Recent Posts

  • Integrate Azure AD B2C with ASP.NET MVC Web App – Part 3
  • Secure ASP.NET Web API 2 using Azure AD B2C – Part 2
  • Azure Active Directory B2C Overview and Policies Management – Part 1
  • ASP.NET Web API Claims Authorization with ASP.NET Identity 2.1 – Part 5
  • ASP.NET Identity 2.1 Roles Based Authorization with ASP.NET Web API – Part 4

Tags

AJAX AngularJS API API Versioning ASP.NET Authentication Autherization Server Azure Active Directory B2C Azure AD B2C basic authentication C# CacheCow Client Side Templating Code First Dependency Injection Entity Framework ETag Foursquare API HTTP Caching HTTP Verbs IMDB API IoC Javascript jQuery JSON JSON Web Tokens JWT Model Factory Ninject OAuth OData Pagination Resources Association Resource Server REST RESTful Single Page Applications SPA Token Authentication Tutorial Web API Web API 2 Web API Security Web Service wordpress.com

Search

Copyright © 2021 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in