|
1 | 1 | --- |
2 | | -title: Portal quickstart for Angular SPA |
3 | | -description: This is a portal quickstart for an Angular single-page application |
4 | | -services: active-directory |
5 | | -author: kengaderdus |
6 | | -manager: mwongerapk |
7 | | -ms.author: kengaderdus |
8 | | -ms.service: active-directory |
9 | | -ms.workload: identity |
10 | | -ms.subservice: ciam |
11 | | -ms.topic: quickstart |
12 | | -ms.date: 04/11/2023 |
| 2 | +title: "Portal quickstart for Angular SPA" |
| 3 | +description: Learn how to run an sample Angular single-page application to sign in users |
| 4 | +services: active-directory |
| 5 | +author: kengaderdus |
| 6 | +manager: mwongerapk |
| 7 | +ms.author: kengaderdus |
| 8 | +ms.service: active-directory |
| 9 | +ms.workload: identity |
| 10 | +ROBOTS: NOINDEX |
| 11 | +ms.subservice: ciam |
| 12 | +ms.topic: portal |
| 13 | +ms.date: 04/19/2023 |
13 | 14 | --- |
14 | | - |
15 | 15 | # Portal quickstart for Angular SPA |
16 | 16 |
|
17 | | -> [!div renderon="portal" id="display-on-portal" class="sxs-lookup"] |
18 | | -> In this quickstart, you download and run a code sample that demonstrates how an Angular single-page application (SPA) can sign in users with Azure AD CIAM. |
19 | | -> |
20 | | -> ## Prerequisites |
| 17 | +> In this quickstart, you download and run a code sample that demonstrates how an Angular SPA that can sign in users with Azure AD for Customers. |
21 | 18 | > |
22 | | -> * [Node.js](https://nodejs.org/en/download/) |
23 | | -> * [Visual Studio Code](https://code.visualstudio.com/download) or another code editor |
24 | | -> |
25 | | -> ## Run the sample |
| 19 | +> [!div renderon="portal" id="display-on-portal" class="sxs-lookup"] |
26 | 20 | > |
27 | | -> 1. Unzip the downloaded file. |
28 | | -> 1. Locate the folder in your terminal, then type: |
| 21 | +> 1. Make sure you've installed [Node.js](https://nodejs.org/download/). |
| 22 | +> 1. Unzip the sample. |
| 23 | +> 1. Locate the sample folder in your terminal, then run the following commands: |
29 | 24 | > |
30 | | -> ```console |
31 | | -> cd SPA |
32 | | -> npm install && npm start |
33 | | -> ``` |
| 25 | +> ```console |
| 26 | +> cd SPA && npm install && npm start |
| 27 | +> ``` |
34 | 28 | > |
35 | | -> 1. Open your browser and visit `http://locahost:4200`. |
36 | | -> 1. Select **Sign-in** on the navigation bar. |
| 29 | +> 1. Visit `http://locahost:4200` in your browser. |
| 30 | +> 1. Select **Sign-in** on the navigation bar, then follow the prompts. |
37 | 31 | > |
0 commit comments