Skip to content

Commit 84e218c

Browse files
Tyler WhitneyTyler Whitney
authored andcommitted
remove having them enter the authority since its already in the sample
1 parent 9df5499 commit 84e218c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

articles/active-directory/develop/quickstart-v2-ios.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ In a terminal window, navigate to the folder with the downloaded code sample and
8989
9090
> [!div renderon="portal" class="sxs-lookup"]
9191
> 1. Extract the zip file and open the project in XCode.
92-
> 1. Edit **ViewController.swift** and replace the line starting with 'let kClientID' with the following code snippet. Remember to update the value for `kClientID` and `kAuthority` with the client ID and tenant ID that you saved when you registered your app in the portal earlier in the quickstart:
92+
> 1. Edit **ViewController.swift** and replace the line starting with 'let kClientID' with the following code snippet. Remember to update the value for `kClientID` with the client ID that you saved when you registered your app in the portal earlier in the quickstart:
9393
> ```swift
94-
> let kClientID = "Enter_the_Application_Id_here"
95-
> let kAuthority = "https://login.microsoftonline.com/Enter_the_Tenant_Info_Here"
94+
> let kClientID = "<ENTER_YOUR_APPLICATION/CLIENT_ID>"
9695
> ```
9796
> 1. Open the project settings. In the **Identity** section, enter the **Bundle Identifier** that you entered into the portal.
9897
> 1. For iOS only, right-click **Info.plist** and select **Open As** > **Source Code**.
@@ -116,10 +115,9 @@ In a terminal window, navigate to the folder with the downloaded code sample and
116115
> [!div renderon="docs"]
117116
>
118117
> 1. Extract the zip file and open the project in XCode.
119-
> 1. Edit **ViewController.swift** and replace the line starting with 'let kClientID' with the following code snippet. Remember to update the value for `kClientID` and `kAuthority` with the clientID and tenant ID that you saved when you registered your app in the portal earlier in this quickstart:
118+
> 1. Edit **ViewController.swift** and replace the line starting with 'let kClientID' with the following code snippet. Remember to update the value for `kClientID` with the clientID that you saved when you registered your app in the portal earlier in this quickstart:
120119
> ```swift
121-
> let kClientID = "Enter_the_Application_Id_here"
122-
> let kAuthority = "https://login.microsoftonline.com/Enter_the_Tenant_Info_Here"
120+
> let kClientID = "<ENTER_YOUR_APPLICATION/CLIENT_ID>"
123121
> ```
124122
> 1. Open the project settings. In the **Identity** section, enter the **Bundle Identifier** that you entered into the portal.
125123
> 1. For iOS only, right-click **Info.plist** and select **Open As** > **Source Code**.
@@ -181,7 +179,6 @@ let authority = try MSALAADAuthority(url: URL(string: kAuthority)!)
181179
182180
let msalConfiguration = MSALPublicClientApplicationConfig(clientId: kClientID, redirectUri: nil, authority: authority)
183181
self.applicationContext = try MSALPublicClientApplication(configuration: msalConfiguration)
184-
185182
```
186183
187184
> |Where: ||

0 commit comments

Comments
 (0)