Jan 21 2020 01:03 AM
To integrate ClientID in SPFx React Webpart
#$siteURL="XXX"
#$AppId = "3a5c8e32-2f58-43fd-9823-086a58e6a250"
#$AppSecret = "kIjADd2dX7eF/nX6TvDnNWNFXHFff50m3DPWQQCNwOU="
How to run SPFX webpart with Client ID and Client secret.?
Please let me know how to proceed.
Thanks in Advance
Jan 21 2020 02:28 AM
@NVNVamsi147 you can use client Id and Secret by abstracting the logic that requires app permissions into a "background" process, like an Azure Function for example. Your SPFx solution can then call the function.