web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Extract The Authentica...
Power Apps
Unanswered

Extract The Authentication token in PowerApps Plugin to call SharePoint API

(0) ShareShare
ReportReport
Posted on by

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.

I have the same question (0)
  • giorgio.desideri Profile Picture
    4 on at
     
    "This feature allows a customer to make client-side calls to external APIs and secure them using OAuth implicit grant flow. It provides an endpoint to obtain secure id tokens. These tokens will contain user identity information to be used by external APIs for authorization following OAuth 2.0 implicit grant flow. The identity information of a signed-in user is passed in a secured manner to the external AJAX calls, which helps developers to pass authentication context and will also help users secure their APIs."
     
    I hope that can help you, also if it is only the id tokens and not the full access token as usual in the client-side application.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard