Skip to content

Commit 4487fd9

Browse files
committed
updated metadata
1 parent a8c1534 commit 4487fd9

16 files changed

+47
-30
lines changed

msal-javascript-conceptual/node/MIP-caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Learn about Microsoft Authentication Extensions for Node"
2+
title: "Microsoft Authentication Extensions for Node"
33
description: The Microsoft Authentication Extensions for Node enables application developers to perform cross-platform token cache serialization and persistence. It gives extra support to the Microsoft Authentication Library for Node (MSAL Node).
44
author: henrymbuguakiarie
55
manager: CelesteDG

msal-javascript-conceptual/node/MIP-initialize-client-apps-v2-v1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Initialize MSAL.js client apps
2+
title: Initialize client applications using MSAL.js
33
description: Learn about initializing client applications using the Microsoft Authentication Library for JavaScript (MSAL.js).
44
author: OwenRichards1
55
manager: CelesteDG

msal-javascript-conceptual/node/MIP-migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.topic: how-to
1212
#Customer intent: As an application developer, I want to learn how to change the code in my Node.js application from using ADAL as its authentication library to MSAL.
1313
---
1414

15-
# How to migrate a Node.js app from ADAL to MSAL
15+
# Migrate your Node.js application from ADAL to MSAL
1616

1717
[Microsoft Authentication Library for Node](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node) (MSAL Node) is now the recommended SDK for enabling authentication and authorization for your applications registered on the Microsoft identity platform. This article covers the important steps you need to go through in order to migrate your apps from Active Directory Authentication Library for Node (ADAL Node) to MSAL Node.
1818

msal-javascript-conceptual/node/accounts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Migrate your Node.js application from ADAL to MSAL"
3-
description: How to update your existing Node.js application to use the Microsoft Authentication Library (MSAL) for authentication and authorization instead of the Active Directory Authentication Library (ADAL).
2+
title: Accounts in MSAL Node
3+
description: Learn how to use the different APIs in MSAL Node to access cached accounts.
44
author: EmLauber
55
manager: CelesteDG
66
ms.author: emilylauber
@@ -10,7 +10,7 @@ ms.service: active-directory
1010
ms.subservice: develop
1111
ms.topic: conceptual
1212
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
13-
#Customer intent: As an application developer, I want to learn how to change the code in my Node.js application from using ADAL as its authentication library to MSAL.
13+
#Customer intent: As a developer, I want to learn how to use the different APIs in MSAL Node to access cached accounts.
1414
---
1515

1616
# Accounts in MSAL Node

msal-javascript-conceptual/node/brokering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: active-directory
1010
ms.subservice: develop
1111
ms.topic: conceptual
1212
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
13-
#Customer intent:
13+
#Customer intent: As a developer, I want to learn how to acquire tokens from the native token broker.
1414
---
1515

1616
# Acquiring Device Bound Tokens

msal-javascript-conceptual/node/caching.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Acquiring Device Bound Tokens"
3-
description: Learn how to acquire tokens from the native token broker.
2+
title: Token caching in MSAL Node
3+
description: Learn how to effectively cache tokens in MSAL Node, and use client secrets securely,
44
author: EmLauber
55
manager: CelesteDG
66
ms.author: emilylauber
@@ -9,7 +9,7 @@ ms.date: 04/26/2021
99
ms.service: active-directory
1010
ms.subservice: develop
1111
ms.topic: conceptual
12-
ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
12+
ms.reviewer: dmwendia, cwerner, owenrichards, kengaderdus
1313
#Customer intent:
1414
---
1515

msal-javascript-conceptual/node/certificate-credentials.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Acquiring Device Bound Tokens"
3-
description: Learn how to acquire tokens from the native token broker.
2+
title: Using certificate credentials with MSAL Node
3+
description: Learn how to use certificate credentials with MSAL Node. Create, register and initialize certificates, and use them securely.
44
author: EmLauber
55
manager: CelesteDG
66
ms.author: emilylauber

msal-javascript-conceptual/node/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Acquiring Device Bound Tokens"
2+
title: Configure MSAL Node
33
description: Learn how to acquire tokens from the native token broker.
44
author: EmLauber
55
manager: CelesteDG
@@ -13,7 +13,7 @@ ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
1313
#Customer intent:
1414
---
1515

16-
# Configuration Options
16+
# Configure MSAL Node
1717

1818
Before you start here, make sure you understand how to [initialize an app object](./initialize-public-client-application.md).
1919

msal-javascript-conceptual/node/faq.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Acquiring Device Bound Tokens"
3-
description: Learn how to acquire tokens from the native token broker.
2+
title: Frequently asked questions about MSAL Node
3+
description: Learn about the most frequently asked questions about MSAL Node.
44
author: EmLauber
55
manager: CelesteDG
66
ms.author: emilylauber
@@ -13,64 +13,79 @@ ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
1313
#Customer intent:
1414
---
1515

16-
# FAQs
16+
# Frequently asked questions about MSAL Node
1717

1818
## General
1919

2020
### When is MSAL Node used?
21+
2122
MSAL Node supports server based authentication for public/confidential apps. This is more applicable for server based authentication scenarios/Web APIs that need authentication. A full list of supported scenarios can be found [here](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node#scenarios-supported) and supported flows are listed [here](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node#oauth20-grant-types-supported)
2223

2324
### What is the status of ADAL Node? Is a migration guide available?
25+
2426
ADAL Node is currently in maintanence and we advise all users to move to MSAL Node as possible. MSAL Node is designed to completely replace ADAL node. For those looking to migrate from ADAL to MSAL we have provided a [Migration Document](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-node/docs/migration.md) to help in the migration. Please note that all apps may not have a smooth migration as this is complete overhaul of the old functionality.
2527

2628
### What are the services supported?
29+
2730
MSAL Node supports AAD, MSA, ADFS and B2C. Our samples demonstrate the usage [here](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-node-samples/standalone-samples). MSAL Node also supports [single and multi tenanted apps](https://docs.microsoft.com/azure/active-directory/develop/single-and-multi-tenant-apps).
2831

2932
Note: ADFS is currently supported, a standalone sample is not yet published. Please checkout this space for an update soon.
3033

3134
### What is a Public App or a Confidential App? What do I need to know during app registration?
35+
3236
Please find this in the [MSAL basics](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node#msal-basics)
3337

3438
## What does authority string default to if I provide "authority" and "azureCloudOptions"?
3539

3640
If the developer provides `azureCloudOptions`, MSAL.js will overwrite any value provided in the `authority`. MSAL.js will also give preference to the parameters provided in a `request` over `configuration`. Please note that if `azureCloudOptions` are set in the configuration, they will take precedence over `authority` in the `request`. If the developer needs to overwrite this, they need to set `azureCloudOptions` in the `request`.
3741

3842
### What will be the token lifetimes?
43+
3944
* AAD: Please find the latest reference for AAD [here](https://docs.microsoft.com/azure/active-directory/develop/active-directory-configurable-token-lifetimes). Please note that few of the configurable features for specific token types are retired recently.
4045
* B2C: Please find the B2C token lifetime guidance [here](https://docs.microsoft.com/azure/active-directory-b2c/tokens-overview#configuration)
4146

4247
### How do I get the Refresh Token?
48+
4349
MSAL Node does not expose refresh tokens for security reasons. Instead, we manage the refresh token through the cache and update it as required to fetch the corresponding Id Token and Access Token for the developer. Use the appropriate `acquireToken*` API to obtain access tokens, and MSAL will ensure they are renewed if necessary. If you have a refresh token acquired by other means, you can use the [acquireTokenByRefreshToken](https://azuread.github.io/microsoft-authentication-library-for-js/ref/classes/_azure_msal_node.confidentialclientapplication.html#acquiretokenbyrefreshtoken) API (see also: [Refresh Token sample](../../../samples/msal-node-samples/refresh-token/README.md)). More details on AAD tokens can be found [here](https://learn.microsoft.com/azure/active-directory/develop/security-tokens)
4450

4551
### Is Electron supported?
52+
4653
Yes. Please refer to [MSAL Node samples](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-node-samples).
4754

4855
### Is interactive flow supported?
56+
4957
Currently No. Authentication for MSAL Node using authorization code grant is a two legged flow, as detailed [here](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-common/docs/request.md). There are plans to provide a single API to achieve this, and invoke the browser on the user's behalf. However it is currently not supported.
5058

5159
### Are SPAs supported by MSAL Node?
60+
5261
Please refer to [MSAL Browser](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-browser) for SPA based use cases. MSAL Node should be a choice for desktop apps, web apps, web APIs or server side authentication scenarios.
5362

5463
### What is MSAL Node extensions? What is a Cache Plugin?
64+
5565
MSAL Node extensions is a support library for MSAL Node which offers secure mechanisms for client applications to perform cross-platform token cache serialization and persistence. Please find the usage, samples and more about this [here](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/extensions)
5666

5767
### Can the cache plugin provided in MSAL Node extensions be used in Electron applications?
68+
5869
Yes, it can. In case you run into node version related issues, refer to this [note](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/extensions/docs/msal-node-extensions.md#note-for-electron-developers) that provides the steps to troubleshoot.
5970

6071
### What versions of Node.js are supported? How do I bypass the installation error if I want to use an active development Node.js version?
72+
6173
MSAL Node officially supports even numbered stable LTS releases as documented [here](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node#node-version-support).
6274

6375
If you want to work around this, please note:
6476
- **Yarn**: Pass the `--ignore-engines` flag to the `yarn` command.
6577
- **npm**: Add `engine-strict=false` to your .npmrc file.
6678

6779
### How do I implement self-service sign-up with MSAL Node?
80+
6881
MSAL Node supports self-service sign-up in the auth code flow. Please see our docs [here](https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_node.html#authorizationurlrequest) for supported prompt values in the request and their expected outcomes, and [here](http://aka.ms/s3u) for an overview of self-service sign-up and configuration changes that need to be made to your Azure tenant. Please note that that self-service sign-up is not available in B2C and test environments.
6982

7083
### Why doesn't my app function correctly when it's running behind a proxy?
84+
7185
Developers can provide a `proxyUrl` string in the system config options as detailed [here](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-node/docs/configuration.md#system-config-options). Developers can also implement their own NetworkManager by instantiating an [INetworkModule](https://azuread.github.io/microsoft-authentication-library-for-js/ref/interfaces/_azure_msal_common.inetworkmodule.html) and building proxy support in it.
7286

7387
### How do I implement a custom http(s) agent in MSAL Node?
88+
7489
Developers can use a custom http(s) agent by providing a `customAgentOptions` object in the system config options as detailed [here](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-node/docs/configuration.md#system-config-options). Developers can also implement their own NetworkManager by instantiating an [INetworkModule](https://azuread.github.io/microsoft-authentication-library-for-js/ref/interfaces/_azure_msal_common.inetworkmodule.html) and building custom http(s) agent support in it.
7590

7691
## B2C

msal-javascript-conceptual/node/initialize-confidential-client-application.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Acquiring Device Bound Tokens"
3-
description: Learn how to acquire tokens from the native token broker.
2+
title: Initialize the confidential client application object in MSAL Node
3+
description: Learn how to initialize MSAL Node.
44
author: EmLauber
55
manager: CelesteDG
66
ms.author: emilylauber
@@ -13,7 +13,7 @@ ms.reviewer: dmwendia,cwerner, owenrichards, kengaderdus
1313
#Customer intent:
1414
---
1515

16-
# Initialization of MSAL
16+
# Initialize the confidential client application object in MSAL Node
1717

1818
Before you get started, please ensure you have completed all the [prerequisites](../README.md#prerequisites).
1919

0 commit comments

Comments
 (0)