I need to retrieve SPO document information from SPO into a public website. I would imagine an app with some secret keys would do it. Or have a kind of authentication master account to enable my external app/website to connect to SPO and retrieve the data through normal services ways like CSOM/REST.

I cannot find any example how to achieve this.

1 Answer 1


You can use form-based auth or Oauth flow to connect to SPO for data retriveal. Please take a referecne of below example:

For more details of pnp csom AuthenticationManager, please refer to:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.