diff --git a/docs/b2c-applications.md b/docs/b2c-applications.md index 267cf9c9f..4bc505f79 100644 --- a/docs/b2c-applications.md +++ b/docs/b2c-applications.md @@ -14,6 +14,15 @@ By the end, you should have recorded the following information: 1. Create an Azure AD B2C Tenant (see: [https://docs.microsoft.com/en-us/azure/active-directory-b2c/tutorial-create-tenant#create-an-azure-ad-b2c-tenant](https://docs.microsoft.com/en-us/azure/active-directory-b2c/tutorial-create-tenant#create-an-azure-ad-b2c-tenant)) * Record the **tenant ID** and the **tenant name**. + +1. After creating your Azure AD B2C Tenant and registering your applications, you need to set up OpenID Connect to secure your applications. Here’s how to find your OpenID authority and OpenID metadata URL: + 1. **Determine your OpenID Authority**: + * Your OpenID Authority is the issuer URL of your Azure AD B2C Tenant. It typically follows the format: `https://.b2clogin.com/.onmicrosoft.com/v2.0/`. + * Replace `` with your actual tenant name. + 1. **Find your OpenID Metadata URL**: + * The OpenID Metadata URL for Azure AD B2C tenants is usually in the format: `https://.b2clogin.com/.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=`. + * Replace `` and `` with your actual tenant name and the policy name you are using (like B2C_1_SignUpSignIn). + 1. Make sure to record the OpenID authority and OpenID metadata URL for future configuration steps. 1. Configure the requiered AD Applications. 1. Create the **IoT Hub Portal API** Application: * Select **App registrations**, and then select **New registration**.