@mfbtech/msal-node-utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

msal-node-utils

Utilities for easier node msal authentication

azureTokenGetter

Authentication

This utility will try get a token silently, and, if that fails, will try interactively, using open to open the browser.

Cache Persistance

This is basically exactly what is described here:

https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/extensions/msal-node-extensions

On linux (including in a linux docker container), I've found it easiest to use gnome-keyring (even if you aren't using Gnome desktop; I'm just using an X server on my host).

I've installed at least

sudo apt-get -y dbus-x11 libsecret-1-0 libsecret-1-dev libsecret-tools gnome-keyring xdg-utils

on an Ubuntu 24 docker container.

Readme

Keywords

none

Package Sidebar

Install

npm i @mfbtech/msal-node-utils

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

6.54 kB

Total Files

8

Last publish

Collaborators

  • sam-mfb
  • ethanmfbtech