Skip to content

Commit a6b3f5d

Browse files
committed
Some more edits
1 parent 8b6db91 commit a6b3f5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

powerapps-docs/developer/common-data-service/walkthrough-registering-configuring-simplespa-application-adal-js.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Click the **Get Accounts** button to retrieve 10 account records from your CDS f
5353
> [!NOTE]
5454
> The initial load of data from CDS for Apps may be slow as the operations to support authentication take place, but subsequent operations are much faster.
5555
56-
Finally, you can click the **Logout** button to logout.
56+
Finally, you can click on **Logout** button to logout.
5757

5858
> [!NOTE]
5959
> This SPA application is not intended to represent a pattern for developing robust SPA applications. It is simplified to focus on the process of registering and configuring the application.
@@ -96,7 +96,7 @@ Finally, you can click the **Logout** button to logout.
9696
clientId: clientId,
9797
postLogoutRedirectUri: pageUrl,
9898
endpoints: endpoints,
99-
cacheLocation: 'localStorage', // enable this for IE, as sessionStorage does not work for localhost.
99+
cacheLocation: 'localStorage',
100100
};
101101
102102
document.onreadystatechange = function () {
@@ -179,8 +179,8 @@ Finally, you can click the **Logout** button to logout.
179179
retrievingAccountsMessage.textContent = "Retrieving 10 accounts from " + organizationURI + "/api/data/v9.1/accounts";
180180
message.appendChild(retrievingAccountsMessage)
181181
182-
// Function to perform operation is passed as a parameter to the aquireTokenRedirect method
183-
authContext.acquireTokenRedirect(organizationURI, retrieveAccounts)
182+
// Function to perform operation is passed as a parameter to the aquireToken method
183+
authContext.acquireToken(organizationURI, retrieveAccounts)
184184
185185
}
186186

0 commit comments

Comments
 (0)