You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/oauth-cross-origin-resource-sharing-connect-single-page-application.md
+5-8Lines changed: 5 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ search.app:
18
18
19
19
# Use OAuth with Cross-Origin Resource Sharing to connect a Single-Page Application
20
20
21
-
You can create a Single-Page Application (SPA) which uses JavaScript to work with Microsoft Dataverse data using Web API. To provide this, Cross-Origin Resource Sharing (CORS) is enabled so that your SPAs can bypass browser restrictions that normally prevent requests that cross ___domain boundaries.
21
+
You can create a Single-Page Application (SPA) which uses JavaScript to work with Microsoft Dataverse data using Web API. To provide this, Cross-Origin Resource Sharing (CORS) is enabled so that your SPAs can bypass browser restrictions that normally prevent requests that cross ___domain boundaries.
22
22
23
23
<aname="bkmk_Spas_and_same_origin_policy"></a>
24
24
@@ -34,21 +34,18 @@ The [CORS protocol](https://fetch.spec.whatwg.org/#http-cors-protocol) provides
34
34
35
35
## Preparing to use MSAL.js with a SPA
36
36
37
-
In order to configure your SPA to work with msal.js you will need to:
38
-
37
+
In order to configure your SPA to work with msal.js you will need to:
38
+
39
39
1. Register your application with the Azure Active Directory tenant.
40
40
1. Set configuration variables in your SPA with information from that registration.
41
-
42
-
You will need to include the following:
43
-
41
+
You will need to include the following:
44
42
- The URL to your Dataverse organization.
45
43
- The Id of the Active Directory tenant your organization uses to authenticate.
46
44
- The client ID you get when you register your application.
47
45
- The URL to where the SPA will be deployed or debugged during development.
48
46
47
+
The set of steps required are described in [Quickstart: Register and configure a SPA application for Dataverse using msal.js](quick-start-register-configure-simplespa-application-msal-js.md)
49
48
50
-
The set of steps required are described in [Quickstart: Register and configure a SPA application for Dataverse using msal.js](quick-start-register-configure-simplespa-application-msal-js.md)
51
-
52
49
### See also
53
50
54
51
[Use OAuth to connect to Dataverse web services](authenticate-oauth.md)<br />
0 commit comments