Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@pnp v3? #13

Open
wmertens opened this issue Feb 23, 2022 · 4 comments
Open

@pnp v3? #13

wmertens opened this issue Feb 23, 2022 · 4 comments

Comments

@wmertens
Copy link

Is there a way to use this with the v3 @pnp libraries?

@opub
Copy link

opub commented Feb 24, 2022

This project seems dead. There have been no commits in 2 years. The SharePoint support in NodeJS appears very fractured and poorly documented.

@wmertens
Copy link
Author

hmm yes but both @s-KaiNet and @koltyakov still seem pretty active.

@s-KaiNet
Copy link
Member

Yeah, we should update this library to support pnp v3.
The reason why it's dead is simply that the best and recommended way to work with nodejs and SharePoint authentication is through msal.js. This library (based on node-sp-auth) was created many years ago to support some specific scenarios using Azure ACS (currently deprecated but still works in SP for backward compat.) and username-password (not very secure) methods.
That's why if you build something modern, it's better to use msal.js and standard Azure AD-based authentication implemented in msal.js.

@opub
Copy link

opub commented Feb 24, 2022

Thanks @s-KaiNet. The msal-node package seems to be what I want. The number of options that MS supports combined with all the packages that implement (or more frequently partially implement) them can be pretty overwhelming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants