How Device Code Flow works in Azure AD

Posted on: 27-02-2018

In-depth walkthrough on the device code authentication flow which can be used by browserless and input-limited devices.

How to detect a request is an Application Insights ping test

Posted on: 24-02-2018

Shows how to know if an HTTP request came from Application Insights availability tests.

Exploring ActionResult<T> in ASP.NET Core 2.1

Posted on: 18-02-2018

Checking out the new ActionResult<T> class coming in ASP.NET Core 2.1.

Creating an authentication scheme in ASP.NET Core 2.0

Posted on: 02-02-2018

How to make authentication handlers in ASP.NET Core 2.0, and walks through a naive implementation for HTTP Basic authentication.

Using Azure AD On-Behalf-Of flow in an ASP.NET Core 2.0 API

Posted on: 06-01-2018

How to call another Azure AD protected API from an API as the user calling it.

Using Redis Cache for session data storage in ASP.NET Core

Posted on: 11-12-2017

How to use Redis for storing session data in ASP.NET Core. Examples for using Azure Redis Cache with Azure Web Apps.

AADSTS90094: The grant requires admin permission, how to fix it and why it happens

Posted on: 09-12-2017

How to grant administrator consent for permissions in Azure AD, and some technical details on what exactly it is that Azure AD expected to find before showing this error.

Adding custom claims to a user during authentication with ASP.NET Core 2.0

Posted on: 05-12-2017

How to add custom claims such as roles to a user after they sign in. OpenID Connect and JWT Bearer token authentication used as examples.

Defining permission scopes and roles offered by an app in Azure AD

Posted on: 03-12-2017

How you can define delegated and app permissions offered by your API, as well as how to assign roles within an app to users.

Apply Authorization by default in ASP.NET Core

Posted on: 29-11-2017

How authentication can be required globally, as well as how to apply a different authorization policy on different parts of the app automatically.

Hi! My name is Joonas Westlin, I'm a software developer who blogs about ASP.NET Core, Azure, and Web development.

Azure MVP, Azure Solutions Architect Expert, Azure Security Engineer Associate, Azure Developer Associate.