Pnpjs: how to pass username and password instead of client id and client secret?

Created on 29 Mar 2019  路  3Comments  路  Source: pnp/pnpjs

hi
how to pass username and password instead of client id and client secret?
Thanks
Peter

documentation answered question

Most helpful comment

The simplest way to master node-sp-auth with PnPjs is pnp-auth.

All 3 comments

Hi @peterremote1980 - we don't support that through the library. But you are in luck, there is a package that helps handle authentication with many more modes available, node-sp-auth. You will have to evaluate it yourself to determine if it meets your needs but others have had success supporting these scenarios. HTH

The simplest way to master node-sp-auth with PnPjs is pnp-auth.

Going to close this as answered. Thanks!

Was this page helpful?
0 / 5 - 0 ratings