Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.08 KB

active-directory-develop-guidedsetup-aspnetwebapp-configure-arp.md

File metadata and controls

16 lines (12 loc) · 1.08 KB

Configure your ASP.NET Web App with the application's registration information

In this step, you will configure your project to use SSL, and then use the SSL URL to configure your application’s registration information. After this, add the application’ registration information to your solution via web.config.

  1. In Solution Explorer, select the project and look at the Properties window (if you don’t see a Properties window, press F4)
  2. Change SSL Enabled to True
  3. Copy the value from SSL URL above and paste it in the Redirect URL field on the top of this page, then click Update:

    Project properties
  4. Add the following in web.config file located in root’s folder, under section configuration\appSettings:
<add key="ClientId" value="[Enter the application Id here]" />
<add key="RedirectUri" value="[Enter the Redirect URL here]" />
<add key="Tenant" value="common" />
<add key="Authority" value="https://login.microsoftonline.com/{0}/v2.0" />