Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

How to access SharePoint List with Site Cookies?

Open noorameera26 opened this issue 2 years ago • 2 comments

Hi, is there a way for one to connect to SharePoint List using site cookies? What modifications should I make?

Some background, I am unable to create Client ID and Client Secret as I am working for a Sharepoint List that is owned by an enterprise. I have tested and verified that I able to insert items list using REST API via Postman.

noorameera26 avatar May 02 '23 03:05 noorameera26

So you want to use your personal User Credentials, that are stored in your browser? This is not an issue related to this library but a general issue of accessing cookie data outside of the browser, which is highly dependent on the OS and browser in question.

For the confusion about the Client ID and Client Secret, there should be someone administrating the SharePoint at the enterprise, that is able to supply these to you. If they do not know, how this should be done, please refer them to this documentation: https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs

dkuska avatar May 02 '23 10:05 dkuska