mirror of
https://github.com/JakeStanger/pnp-msal-bug-repro.git
synced 2026-07-11 09:15:43 +01:00
Repo to demonstrate presumed bug at https://github.com/pnp/pnpjs/issues/1719
- TypeScript 100%
| .idea | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
PnPJS MSAL/App Catalog Bug Reproduction
Repo to demonstrate the presumed bug at https://github.com/pnp/pnpjs/issues/1719.
Steps
- Run
yarnto install dependencies. - Copy
.env.exampleto.envand fill out the values for MSAL certificate authentication. - Run
yarn start:devto start usingts-nodeor runyarn build && yarn startto run usingnode.
The program will:
- Get an isolated SP client (important!)
- Fetch and log all lists for the site
- (Attempt to) Fetch and log all apps for the site