Azure AD B2C & AWS Cognito Integration

Anand Patil 95 Reputation points
2024-06-17T11:12:37.5+00:00

Hi,

I have an Azure AD B2C custom policy (SAML protocol) being used by an application 'A' setup and working fine. I want to integrate another application 'B' using OpenId protocol. This application 'B' is hosted in AWS and uses AWS Cognito user pool.

I have the OpenId Custom Policy defined in B2C and works fine when testing using https://jwt.ms. I configure this OpenId policy in AWS Cognito under Federated Identity Provider and using the configuration from B2C registered app id and custom policy claims.

When I try to test this integration using a sample web app, it looks like the authentication is happening from B2C, however not all claims from the Custom Policy are being passed on to AWS Cognito. Correct claims mapping are put in place in AWS.

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,907 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
369 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.