Forum Discussion
Jarkko Seppo Tapani Tornberg
Sep 05, 2017Brass Contributor
Multiple SPFx web parts using Graph API on the same page, is this possible?
Scenario: You have two SPFx web parts that users can add on a page. One web part is fetching user’s calendar events, another one is fetching user’s emails. Both use Graph API and both need different ...
Jarkko Seppo Tapani Tornberg
Sep 05, 2017Brass Contributor
Going to reply to myself :D How about if the token handling etc. for the whole page (all the web parts) was done with a SharePoint Framework extension (Application customizer). So, the SharePoint Framework extension would handle all the authorization request and keep track of the Graph API rights needed for all of the web parts the users adds to the page? Could this be done? Is the SharePoint extension capable of doing this?