[Progress Communities] [Progress OpenEdge ABL] Forum Post: Microsoft.Indentity.Client - using from Openedge

  • Thread starter Thread starter oedev
  • Start date Start date
Status
Not open for further replies.
O

oedev

Guest
Openedge 11.7 I'm trying to use the code examples provided by Microsoft ( Microsoft identity platform Windows desktop quickstart ) to authorise a user to access the Microsoft Graph API using the Microsoft.Identity.Client library ( Microsoft.Identity.Client 4.9.0 ) There are multiple ways to obtain a client, but all are executed asynchronously; authResult = await app.AcquireTokenInteractive(scopes) .WithAccount(accounts.FirstOrDefault()) .WithParentActivityOrWindow(new WindowInteropHelper(this).Handle) // optional, used to center the browser on the window .WithPrompt(Prompt.SelectAccount) .ExecuteAsync(); I think asynchronous calls will be problematic to integrate with Openedge? Has anyone integrated with this library using Openedge?

Continue reading...
 
Status
Not open for further replies.
Back
Top