SPFX query

Copper Contributor

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

 

 

1 Reply

@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.