Search code examples
oauthoauth-2.0azure-logic-apps

Oauth Authentication in Logic Apps


How can you authenticate an HTTP Request to Logic Apps using Oauth Authentication mechanism? Any Ideas and pointers are much appreciated.


Solution

  • This is old topic but in case anyone stumbled upon this challenge then the high level answer is

    1. Create API management
    2. Add VIP (Virtual IP) of API management to Logic App Firewall
    3. Add OAuth token policy in API management
    4. Add remove Authorization header policy in API management
    5. Optionally add extract claim policy expression to pass caller details to Logic App for extra logic

    If you are interested I have this in very detail explained on my blog https://marczak.io/posts/2019/08/secure-logic-app-with-api-management/