I have custom Context Menu Extension created usign SharePoint Framework. Not Webpart. Added two context menu items for document library.
And I need to use ADAL to acquire token from Azure AD when I click those items and do some operations with it.
In Classic SharePoint view we can inject scripts on page via ScriptLink custom action.
But in SharePoint Framework we don't have such feature.
How can I implement it?
I searched for the solution and these ones seem to be wroking, but are not suitable for my case: