
Announcements
I am working on a case where a user triggers a plugin to check documents in SharePoint. The plugin is supposed to return the number of documents created. For authentication, I want to avoid generating a token within the plugin using a client secret or other similar methods. Instead, I would like to leverage the authentication context of the user who triggered the plugin to make the SharePoint API call.
Is there a way to authenticate to SharePoint using the calling user's credentials? Or is this approach not feasible to implement? Any insights or alternative solutions would be appreciated.