Working with identity in .NET Core 2.0

Last year I did a quick code sample on how to use identity in .NET Core (1.x): https://contos.io/protecting-a-net-core-api-with-azure-active-directory-59bbcd5b3429 Time flies, and just weeks ago I showed how fun/frustrating it can get when we want to secure a SPA with a .NET Core 2.0 back-end: https://blogs.msdn.microsoft.com/azuredev/2017/09/22/protecting-a-net-core-2-0-spa-with-adfs/ As I stated along with the most recent code snippet…

2

Protecting a .NET Core 2.0 SPA with ADFS

Today’s identity-related pop quiz: How do you secure a SinglePageApp (SPA) with a .NET Core back-end using ADFS? If you said “there’s probably an official sample for that over at docs.microsoft.com” you’d not be entirely right. Oh, there’s samples, but if you implied “working sample” I dare you to come up with it 🙂 (Well,…

2

Using ADFS as an Identity Provider for Azure AD B2C

Using Azure AD B2C with “regular” Azure AD enabled some new and useful scenarios. Let’s take logins further along the same track while we are at it. To not repeat myself I will assume you have at least skimmed through the previous article: https://blogs.msdn.microsoft.com/azuredev/2017/05/30/azure-ad-b2c-kicking-it-up-a-notch-with-support-for-aad-as-idp/ The integration between B2C and AAD is done through the support…

1

Azure AD B2C – Kicking it up a notch with support for AAD as IdP

I have mentioned AAD B2C before, and it should be your go-to feature if you want to have users logging in to your apps with their “social” identity. Like all Azure services B2C also evolves, and there happens to be a newly released feature I would like to highlight 🙂 While B2C covers the big…


Azure AD – Overview of Libraries

“This whole Azure AD thingy sounds complicated – aren’t there any libraries or something to make life simpler?” Well, I suppose not everyone wants to write everything from scratch 🙂 Short answer: yes, there are libraries. Long answer: there are a number of libraries to choose between. Actually, before committing to a library you need…


Azure AD Developer Tips and Tricks – Part 3

AKA The “OAuth Tips from a Dummy” Edition Raise your hand if you have ever heard of OAuth. Ok, I can see a lot of hands there. Now, raise your hand if you can list all the different flows and use cases of OAuth. Hmm…Less hands it seems… Let me just say right at the…

5

Interview with an Azure Development Ninja – Andreas Helland

Welcome to another Azure Development Community Interview! You can find all our interviews here. This interview is with… Andreas Helland 325 Forum Answers 1,301 Forum Replies Long-time contributor to Azure Advisors, directly impacting the Azure services I’ve known Andreas for quite awhile, as we’ve worked together in Azure Advisors, getting feedback for our product teams….

9

Azure AD Developer Tips and Tricks – Part 2

I kind of left you hanging in the last part when I said there could be a need for “going straight to the source in the form of GraphExplorer, or doing REST calls manually”. Let’s continue where we left off, and do something about that shall we? As an Azure AD developer you will quite…

3

Azure AD Developer Tips and Tricks – Part 1

Preamble Most Microsoft-oriented techies have probably been exposed to Azure by now, and seen the breadth of services on offer. If you’ve landed on this blog you have probably gone through the basics of getting a piece of code running in the cloud already. (If not – what are you waiting for?) Furthermore, regardless of…

3

Azure Content Spotlight – Azure AD and multitenant applications

In this week’s spotlight, I would like to highlight another excellent contribution by the Patterns and Practices team.  The Identity management for multitenant applications in Microsoft Azure is a collection of articles describing different aspects of a github project the team has put together to illustrate how multitenancy could be implemented in Azure. The project is a…

2