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 |
jmprieur |
CelesteDG |
active-directory |
na |
include |
na |
identity |
09/17/2018 |
jmprieur |
include file |
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.
- In Solution Explorer, select the project and look at the
Properties
window (if you don’t see a Properties window, press F4) - Change
SSL Enabled
toTrue
- Copy the value from
SSL URL
above and paste it in theRedirect URL
field on the top of this page, then click Update: - Add the following in
web.config
file located in root’s folder, under sectionconfiguration\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" />