Skip to content

Files

Latest commit

 

History

History
55 lines (48 loc) · 1.35 KB

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

File metadata and controls

55 lines (48 loc) · 1.35 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
ios
identity
09/19/2018
andret
include file

Add the application’s registration information to your app

In this step, you need to add the Application ID to your project:

  1. In ViewController.swift, replace the line starting with 'let kClientID' with:
let kClientID = "[Enter the application Id here]"
  1. Control+click Info.plist to bring up the contextual menu, and then click: Open As > Source Code
  2. Under the dict root node, add the following:
<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>CFBundleURLName</key>
        <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>msal[Enter the application Id here]</string>
        </array>
    </dict>
</array>