Bit of Technology

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

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

October 27, 2014 By Taiseer Joudeh 368 Comments

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 the web.config file for the Authorization and the Resource server. So once the user request an access token from the Authorization server, the Authorization server will use this unified […]

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 50 Comments

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

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 283 Comments

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 we’ve only one software component (API) which plays both roles: Authorization Server and Resource Server. […]

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

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

August 11, 2014 By Taiseer Joudeh 479 Comments

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

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 756 Comments

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

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

AngularJS Authentication with Auth0 & ASP .Net OWIN

July 2, 2014 By Taiseer Joudeh 13 Comments

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

Filed Under: AngularJS, ASP.Net Web API, Single Page Applications Tagged With: AngularJS, ASP.NET, Auth0, Authentication, JWT, SPA, Web API

AngularJS Token Authentication using ASP.NET Web API 2, Owin, and Identity

June 9, 2014 By Taiseer Joudeh 416 Comments

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

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

Token Based Authentication using ASP.NET Web API 2, Owin, and Identity

June 1, 2014 By Taiseer Joudeh 1,471 Comments

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

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

Building OData Service using ASP.Net Web API Tutorial – Part 3

April 16, 2014 By Taiseer Joudeh 27 Comments

This is the third part of Building OData Service using Asp.Net Web API. The topics we’ll cover are: OData Introduction and Querying Existing OData Service – Part 1. Create read-only OData endpoint using Asp.Net Web API – Part 2. CRUD Operations on OData endpoint using Asp.Net Web API – Part 3 (This Post). Consuming OData Service […]

Filed Under: ASP.Net Web API, OData, RESTful API, Web API Tutorial Tagged With: API, ASP.NET, OData, REST, RESTful, Tutorial, Web API, Web Service

Building OData Service using ASP.Net Web API Tutorial – Part 2

April 16, 2014 By Taiseer Joudeh 19 Comments

This is the second part of Building OData Service using Asp.Net Web API. The topics we’ll cover are: OData Introduction and Querying Existing OData Service – Part 1. Create read-only OData endpoint using Asp.Net Web API – Part 2 (This Post). CRUD Operations on OData endpoint using Asp.Net Web API – Part 3. Consuming OData Service […]

Filed Under: ASP.Net Web API, OData, RESTful API, Web API Tutorial Tagged With: API, ASP.NET, OData, REST, RESTful, Tutorial, Web API, Web Service

  • 1
  • 2
  • 3
  • Next Page »

About Taiseer

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

Buy me a coffeeBuy me a coffee

Recent Posts

  • Invoking Dapr Services in Azure Container Apps using gRPC – Part 2
  • gRPC Communication In Azure Container Apps – Part 1
  • Azure Container Apps Volume Mounts using Azure Files – Part 12
  • Deploy Meilisearch into Azure Container Apps
  • Monitor Microservices App using Azure Managed Grafana

Blog Archives

Recent Posts

  • Invoking Dapr Services in Azure Container Apps using gRPC – Part 2
  • gRPC Communication In Azure Container Apps – Part 1
  • Azure Container Apps Volume Mounts using Azure Files – Part 12
  • Deploy Meilisearch into Azure Container Apps
  • Monitor Microservices App using Azure Managed Grafana

Tags

AJAX AngularJS API API Versioning ASP.NET ASP.NET 6 Authentication Autherization Server Azure Azure Active Directory B2C Azure AD B2C Azure Container Apps Azure Files Azure Storage Code First Dapr Dependency Injection Entity Framework ETag Foursquare API grpc IaC jQuery JSON JSON Web Tokens JWT KEDA Microservice Microsoft MVP Ninject OAuth OAuth 1.0 OData Redis Resource Server REST RESTful Single Page Applications SPA Token Authentication Tutorial Web API Web API 2 Web API Security Web Service

Search

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