Can we load static metadata for an SP in Azure B2C

Pooranan Balasubramnian 0 Reputation points
2023-05-19T08:34:08.57+00:00

We are working with a SP who does not have a public URL for the metadata. But they have given a static metadata file. Is it possible to load this to B2C or we need to host it ourselves and get a public URL and use that.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,568 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tech-Hyd-1989 5,746 Reputation points
    2023-05-19T08:38:51.28+00:00

    Hello Pooranan Balasubramnian

    In Azure AD B2C, the recommended approach is to host the metadata file containing the identity provider configuration on a publicly accessible URL. This allows Azure AD B2C to retrieve the metadata file and configure the identity provider integration.

    If the service provider (SP) you are working with does not provide a public URL for the metadata, you would typically need to host the metadata file yourself and make it available on a public URL. This can be done by hosting the file on a web server or a cloud storage service that allows public access.

    Once you have hosted the metadata file on a public URL, you can then configure the identity provider integration in Azure AD B2C by providing the URL of the metadata file. Azure AD B2C will retrieve the metadata from the specified URL and use it to configure the integration with the SP.

    If hosting the metadata file yourself is not an option and the SP does not provide a public URL, you may need to discuss alternative integration methods with the SP. They may be able to provide an alternative approach or a different method of configuring the integration with Azure AD B2C.

    It's important to ensure that the metadata file is accessible and up-to-date, as any changes in the SP's configuration may require updating the metadata file and making it available on the public URL specified in Azure AD B2C.

    Please accept answer and upvote if the above information is helpful for the benefit of the community.

    0 comments No comments