Forum Discussion
Russell Gove
Oct 03, 2017Iron Contributor
Pass user Identity from SPFX Webpart to Azure function
Say I have an SPFX WebPart that needs to call an Azure function to do some work. The Azure function needs to know who the user is that made the request. How do I pass the users Identity from the SPFX...
Russell Gove
Oct 04, 2017Iron Contributor
Thanks Waldek, Just what i needed!
Do we have a github sample for this yet?
Oct 04, 2017
There is one sample available at https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-aad-webapi. It's built using an older version of the SharePoint Framework, but it should give you a general idea of the different pieces involved.