Jump to content

Azure AD OAuth Proof of Possession (PoP) for Azure Logic Apps


Recommended Posts

Posted

Azure AD OAuth Proof of Possession (PoP) for Azure Logic Apps

 

 

 

 

Logic Apps supports bearer-type authorization schemes for Azure AD OAuth access tokens, which means that the “Authorization” header for the access token must specify the “Bearer” type.

 

We have now added the support for PoP-type authorization schemes for Azure AD OAuth access tokens, which means that the “Authorization” header for the access token must specify the “PoP” type.

 

 

 

For now, the PoP support is only available in consumption Logic Apps

 

 

 

How do you get the PoP token

 

 

 

 

This sample uses a daemon app and shows how to use Proof Of Possession (PoP) tokens which is now available in the MSAL libraries. You can acquire Proof of Possession (PoP) tokens using MSAL if the Logic App that you want to call requires it.

 

Follow these steps to leverage PoP tokens for authorization in Logic Apps.

 

  1. Create a new ‘consumption’ Logic App or open an existing one.
  2. From the Logic app menu, select Settings, select Authorization. After the Authorization pane opens, select Add policy.

 

mediumvv2px400.png.b27566813fd7cc946e0b734dbb2bfb75.png

 

3. Provide
Policy name
which can be any string and select
Policy type
as “AADPOP”. Under Claims, provide the key-value pair of the different
and values that your logic app expects in the access token presented by each inbound call to the Request trigger. Using Add standard claim, you can add any standard claims that you want to use. To add claims specific to PoP, use the
Add custom claim
button.

 

 

mediumvv2px400.png.9736c9fae1f911c46cb99636d2058240.png

 

 

 

For more information, review 
. Your custom claim is stored as a part of your JWT ID; for example, "tid": "72f988bf-86f1-41af-91ab-2d7cd011db47".

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...