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

Commit 3a2485f

Browse files
authored
Update README.md
1 parent ebcdb60 commit 3a2485f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ urlFragment: "active-directory-javascript-singlepageapp-angular"
1313

1414
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

16-
**Note:** This sample's structure was generated with the [Angular CLI](https://cli.angular.io/).
16+
**Note:** A quickstart guide covering this sample can be found [here](https://docs.microsoft.com/azure/active-directory/develop/quickstart-v2-angular).
17+
18+
**Note:** A more detailed tutorial covering this sample can be found [here](https://docs.microsoft.com/azure/active-directory/develop/tutorial-v2-angular).
1719

1820
## Key concepts
1921

@@ -49,14 +51,18 @@ This sample demonstrates the following MSAL Angular concepts:
4951
| `tsconfig.*.json` | TypeScript configuration files. |
5052
| `tslint.json` | TS Lint configuration files. |
5153

54+
**Note:** This sample's structure was generated with the [Angular CLI](https://cli.angular.io/).
55+
5256
## Prerequisites
5357

54-
[Node.js](https://nodejs.org/en/) must be installed to run this sample.
58+
- [Node.js](https://nodejs.org/en/) must be installed to run this sample.
59+
- [Angular CLI](https://cli.angular.io/) must be installed to run this sample.
5560

5661
## Setup
5762

5863
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).
5964
2. Open [src/app/app.module.ts](./src/app/app.module.ts). Inside `MsalModule.forRoot` provide the required configuration values.
65+
> **Note**: In order to support sign-ins with **work and school accounts** as well as **personal Microsoft accounts**, set your `authority` to use the /common endpoint i.e. `https://login.microsoftonline.com/common`. Read more about [msal.js configuration options](https://docs.microsoft.com/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options).
6066
3. Install project dependencies from the command line by navigating to the root of the repository and running `npm install`.
6167

6268
## Run the sample

0 commit comments

Comments
 (0)