• Azure,  Power Apps

    Using React AAD MSAL to call a secure API from a PCF Control

    In my previous post, we've created our own custom authentication provider which exposed the members of the Microsoft Authentication Library (MSAL) to handle the authentication for the PCF control. Implementing our own is great, but for reusability, I wondered if there was an existing library we could utilise instead. In the search for this, I've come across an npm package called React AAD MSAL - a React wrapper for Azure AD using the MSAL. We will explore how we can incorporate this to call our custom API secured by the Azure AD from a PCF control.