Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 2.01 KB

active-directory-develop-guidedsetup-aspnetwebapp-introduction.md

File metadata and controls

43 lines (31 loc) · 2.01 KB
title description services documentationcenter author manager editor ms.service ms.devlang ms.topic ms.tgt_pltfrm ms.workload ms.date ms.author ms.custom
include file
include file
active-directory
dev-center-name
andretms
mtillman
active-directory
na
include
na
identity
04/19/2018
andret
include file

Add sign-in with Microsoft to an ASP.NET web app

This guide demonstrates how to implement sign-in with Microsoft using an ASP.NET MVC solution with a traditional web browser-based application using OpenID Connect.

At the end of this guide, your application will be able to accept sign-ins of personal accounts (including outlook.com, live.com, and others) as well as work and school accounts from any company or organization that has integrated with Azure Active Directory.

This guide requires Visual Studio 2015 Update 3 or Visual Studio 2017. Don’t have it? Download Visual Studio 2017 for free

How the sample app generated by this guide works

How this guide works

The sample application created by this guide is based on the scenario where a user uses the browser to access an ASP.NET web site requesting a user to authenticate via a sign-in button. In this scenario, most of the work to render the web page occurs on the server side.

Libraries

This guide uses the following libraries:

Library Description
Microsoft.Owin.Security.OpenIdConnect Middleware that enables an application to use OpenIdConnect for authentication
Microsoft.Owin.Security.Cookies Middleware that enables an application to maintain user session using cookies
Microsoft.Owin.Host.SystemWeb Enables OWIN-based applications to run on IIS using the ASP.NET request pipeline