Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 8cd46fd

Browse files
authored
Merge pull request #3 from Azure-Samples/jasonnutter-readme-feedback
Update README to address feedback
2 parents 27d5228 + a35b332 commit 8cd46fd

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,26 @@ languages:
55
- nodejs
66
products:
77
- azure-active-directory
8-
description: "A simple Angular single page application calling the Microsoft Graph using MSAL Angular (Azure AD V2 endpoint)."
8+
description: "Demonstrates how to use MSAL Angular to login, logout, protect a route, and acquire an access token for a protected resource such as Microsoft Graph."
99
urlFragment: "active-directory-javascript-singlepageapp-angular"
1010
---
1111

1212
# MSAL Angular Sample Application
1313

14-
A simple Angular single-page application which demonstrates how to configure [MSAL Angular](https://www.npmjs.com/package/@azure/msal-angular) to login, logout, protect a route, and acquire an access token for a protected resource such as the Microsoft Graph.
14+
Demonstrates how to use [MSAL Angular](https://www.npmjs.com/package/@azure/msal-angular) to login, logout, protect a route, and acquire an access token for a protected resource such as Microsoft Graph
1515

1616
**Note:** This sample's structure was generated with the [Angular CLI](https://cli.angular.io/).
1717

18+
## Key concepts
19+
20+
This sample demonstrates the following MSAL Angular concepts:
21+
22+
* Configuration
23+
* Login
24+
* Logout
25+
* Protecting a route
26+
* Acquiring an access token and attaching it to http calls
27+
1828
## Contents
1929

2030
| File/folder | Description |
@@ -41,28 +51,18 @@ A simple Angular single-page application which demonstrates how to configure [MS
4151

4252
## Prerequisites
4353

44-
[Node](https://nodejs.org/en/) must be installed to run this sample.
54+
[Node.js](https://nodejs.org/en/) must be installed to run this sample.
4555

4656
## Setup
4757

4858
1. [Register a new application](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) in the [Azure Portal](https://portal.azure.com). Ensure that the application is enabled for the [implicit flow](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-implicit-grant-flow).
49-
2. Open the [src/app/app.module.ts](./src/app/app.module.ts) file and provide the required configuration values (inside `MsalModule.forRoot`).
50-
3. On the command line, navigate to the root of the repository, and run `npm install` to install the project dependencies via npm.
59+
2. Open [src/app/app.module.ts](./src/app/app.module.ts). Inside `MsalModule.forRoot` provide the required configuration values.
60+
3. Install project dependencies from the command line by navigating to the root of the repository and running `npm install`.
5161

52-
## Running the sample
62+
## Run the sample
5363

54-
1. To start the sample application, run `npm start`.
55-
2. Next, open a browser to [http://localhost:4200](http://localhost:4200).
56-
57-
## Key concepts
58-
59-
This sample demonstrates the following MSAL Angular concepts:
60-
61-
* Configuration
62-
* Login
63-
* Logout
64-
* Protecting a route
65-
* Acquiring an access token and attaching it to http calls
64+
1. Start the sample application with `npm start`.
65+
2. In your browser, navigate to [http://localhost:4200](http://localhost:4200).
6666

6767
## Contributing
6868

0 commit comments

Comments
 (0)