question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use msal-node with Managed Identity?

See original GitHub issue

Library

  • msal@1.x.x or @azure/msal@1.x.x
  • @azure/msal-browser@2.x.x
  • @azure/msal-node@1.x.x
  • @azure/msal-react@1.x.x
  • @azure/msal-angular@0.x.x
  • @azure/msal-angular@1.x.x
  • @azure/msal-angular@2.x.x
  • @azure/msal-angularjs@1.x.x

Description

How can I use msal-node with Managed Identity?

I’m co-maintaining CLI for Microsoft 365 where we support a number of ways for users to authenticate. We’re looking into migrating from adal-node to msal-node but couldn’t find any examples of using Managed Identity in conjunction with MSAL token cache.

Source

  • Internal (Microsoft)
  • Customer request

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
derisencommented, Feb 17, 2021

@waldekmastykarz I had this in the backlog but didn’t had time to get to it yet. I’ll try to pull together a guide soon.

0reactions
github-actions[bot]commented, Mar 27, 2021

This issue has been closed due to inactivity. If this has not been resolved please open a new issue. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure Identity client library for JavaScript | Microsoft Learn
The Azure Identity library focuses on OAuth authentication with Azure AD, and it offers a variety of credential classes capable of acquiring an ......
Read more >
Azure-Samples/ms-identity-javascript-nodejs-tutorial - GitHub
Provide the managed identity access to Key Vault. Navigate to your Key Vault in the portal. Select Overview > Access policies. Click on...
Read more >
@azure/msal-node - npm
MSAL Node enables applications to authenticate users using Azure AD work and school accounts (AAD), Microsoft personal accounts (MSA) and ...
Read more >
Authenticating to Azure services with Azure AD and MSAL.js
... Azure support modern & managed authentication using Azure Active Directory, ... “how do I update my apps to use these robust identities...
Read more >
Options for obtaining an access token with Azure application ...
This will automatically use the credentials of the managed identity configured for the client function app. We then call the GetTokenAsync ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found