how to use certificate to call an API from custom policy

dwang 11 Reputation points
2022-05-24T22:31:31.483+00:00

I need to call an API from custom policy of azure AD B2C. How do I configure the custom policy to use certificate and password for it?
Thanks.
dairong

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,639 questions
{count} votes

1 answer

Sort by: Most helpful
  1. 2022-05-24T23:04:00.487+00:00

    Hello @dwang , the referred article shows how to create a REST API and consume it from B2C custom policies. Certificate authentication does not require an external password since it relies on the certificate key pair. Please follow the steps detailed in HTTPS client certificate authentication to implement it in your policies.

    Let us know if this answer was helpful to you or if you need additional assistance. If it was helpful, please remember to accept it so that others in the community with similar questions can more easily find a solution.

    0 comments No comments