Skip to content

Commit fbff4f2

Browse files
Updates to MSAL Angular
1 parent 3d8e002 commit fbff4f2

21 files changed

+222
-18
lines changed

msal-javascript-conceptual/angular/angular-universal.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
title: Angular Universal SSR with MSAL Angular
3+
description: Angular Universal SSR with MSAL Angular
4+
author: Dickson-Mwendia
5+
manager: CelesteDG
6+
7+
ms.topic: reference
8+
ms.date: 11/29/2023
9+
ms.author: emilylauber
10+
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
11+
---
112
# Angular Universal SSR with MSAL Angular
213

314
Angular Universal is minimally supported in `@azure/msal-angular`. As `@azure/msal-angular` is a wrapper library for `@azure/msal-browser`, which uses browser-only global objects such as `window` and `___location` objects, not all of `@azure/msal-angular`'s features are available when using Angular Universal. While login and token acquisition is not supported server-side, Angular Universal can be used with `@azure/msal-angular` without breaking your app.

msal-javascript-conceptual/angular/configuration.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
title: MSAL Angular Configuration
3+
description: Learn how to configure your Angular application to use MSAL Angular
4+
author: Dickson-Mwendia
5+
manager: CelesteDG
6+
7+
ms.topic: reference
8+
ms.date: 11/29/2023
9+
ms.author: emilylauber
10+
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
11+
---
112
# MSAL Angular Configuration
213

314
MSAL for Angular can be configured in multiple ways:

msal-javascript-conceptual/angular/errors.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
# MSAL Angular Errors
1+
---
2+
title: Errors in MSAL Angular
3+
description: Learn how to deal wth errors in MSAL Angular
4+
author: Dickson-Mwendia
5+
manager: CelesteDG
6+
7+
ms.topic: reference
8+
ms.date: 11/29/2023
9+
ms.author: emilylauber
10+
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
11+
---
12+
13+
# Errors in MSAL Angular
214

315
***
416

msal-javascript-conceptual/angular/events.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
---
2+
title: Events in MSAL Angular
3+
description: Learn more about working with events in MSAL Angular
4+
author: Dickson-Mwendia
5+
manager: CelesteDG
6+
7+
ms.topic: reference
8+
ms.date: 11/29/2023
9+
ms.author: emilylauber
10+
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
11+
---
12+
113
# Events in MSAL Angular
214

315
Before you start here, make sure you understand how to [initialize the application object](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-angular/docs/v2-docs/initialization.md).

msal-javascript-conceptual/angular/initialization.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
# Initialization of MSAL Angular
1+
---
2+
title: Initializing MSAL Angular
3+
description: Learn how to initialize MSAL in your Angular application
4+
author: Dickson-Mwendia
5+
manager: CelesteDG
6+
7+
ms.topic: reference
8+
ms.date: 11/29/2023
9+
ms.author: emilylauber
10+
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
11+
---
12+
# Initializing MSAL Angular
213

314
Before using `@azure/msal-angular`, [register an application in Azure AD](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) to get your `clientId`.
415

msal-javascript-conceptual/angular/known-issues.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
# Known issues for MSAL Angular
1+
---
2+
title: Known issues in MSAL Angular
3+
description: Learn more about known issues in MSAL Angular
4+
author: Dickson-Mwendia
5+
manager: CelesteDG
6+
7+
ms.topic: reference
8+
ms.date: 11/29/2023
9+
ms.author: emilylauber
10+
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
11+
---
12+
# Known issues in MSAL Angular
213

314
## 2.0.0
415
* MSAL Guard's `CanLoad` does not interactively prompt for login. This will be addressed in a future release.

msal-javascript-conceptual/angular/logging.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
title: Logging in MSAL Angular
3+
description: Learn about logging in MSAL Angular
4+
author: Dickson-Mwendia
5+
manager: CelesteDG
6+
7+
ms.topic: reference
8+
ms.date: 11/29/2023
9+
ms.author: emilylauber
10+
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
11+
---
112
# Logging in MSAL Angular
213

314
The logger definition has the following properties:

msal-javascript-conceptual/angular/msal-guard.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
# MSAL Guard
1+
---
2+
title: Using MSAL Guard to protect routes
3+
description: Learn how to use MSAL Guard to protect routes in your Angular application
4+
author: Dickson-Mwendia
5+
manager: CelesteDG
6+
7+
ms.topic: reference
8+
ms.date: 11/29/2023
9+
ms.author: emilylauber
10+
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
11+
---
12+
# Using MSAL Guard to protect routes
213

314
MSAL Angular provides `MsalGuard`, a class you can use to protect routes and require authentication before accessing the protected route. This doc provides more information about configuring and considerations when using the `MsalGuard`.
415

msal-javascript-conceptual/angular/msal-interceptor.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
---
2+
title: Using the MSAL Interceptor
3+
description: Learn how to use the MSAL Interceptor
4+
author: Dickson-Mwendia
5+
manager: CelesteDG
6+
7+
ms.topic: reference
8+
ms.date: 11/29/2023
9+
ms.author: emilylauber
10+
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
11+
---
12+
113
# MSAL Interceptor
214

315
MSAL Angular provides an `Interceptor` class that automatically acquires tokens for outgoing requests that use the Angular `http` client to known protected resources. This doc provides more information about the configuring and using the `MsalInterceptor`.

msal-javascript-conceptual/angular/multi-tenant.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
---
2+
title: Support for multi-tenant applications
3+
description: Learn more about support for multi-tenant applications in MSAL Angular
4+
author: Dickson-Mwendia
5+
manager: CelesteDG
6+
7+
ms.topic: reference
8+
ms.date: 11/29/2023
9+
ms.author: emilylauber
10+
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
11+
---
12+
113
# Multi-Tenant
214

315
By default, there is multi-tenant support for your application since MSAL sets the tenant in the authority to 'common' if it is not specified in the config. This allows any Microsoft account to authenticate to your application. If you are not interested in multi-tenant behavior, you will need to set the `authority` config property when instantiating MSAL in the `app.module.ts` as shown below.

0 commit comments

Comments
 (0)