From 6fda3e057f2dbb3379bb56bca68031f57a3f94f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20TUAILLON?= Date: Wed, 6 Dec 2023 14:21:57 +0100 Subject: [PATCH 1/4] Update documentation of OpenID Connect Setup Instructions for Azure --- docs/b2c-applications.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/b2c-applications.md b/docs/b2c-applications.md index 267cf9c9f..32e62d38e 100644 --- a/docs/b2c-applications.md +++ b/docs/b2c-applications.md @@ -14,6 +14,17 @@ 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. + + 2. **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). + 3. 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**. From 76741c6b38488c81a801c97c2bbc87a96cf912bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20TUAILLON?= Date: Thu, 7 Dec 2023 16:46:13 +0100 Subject: [PATCH 2/4] fix markdown conventions --- docs/b2c-applications.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/b2c-applications.md b/docs/b2c-applications.md index 32e62d38e..adebbd684 100644 --- a/docs/b2c-applications.md +++ b/docs/b2c-applications.md @@ -16,14 +16,12 @@ By the end, you should have recorded the following information: * 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. - + * 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. 2. **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). + * 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). 3. 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: From 9b3be33175739bfa22b763b65752038aa8ea6cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20TUAILLON?= Date: Thu, 7 Dec 2023 16:48:08 +0100 Subject: [PATCH 3/4] fix markdown prob --- docs/b2c-applications.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/b2c-applications.md b/docs/b2c-applications.md index adebbd684..84ca3bd42 100644 --- a/docs/b2c-applications.md +++ b/docs/b2c-applications.md @@ -17,12 +17,13 @@ By the end, you should have recorded the following information: 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. - 2. **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). - 3. Make sure to record the OpenID authority and OpenID metadata URL for future configuration steps. + * 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**. From 90b0cd086ff19ee18c8e7364856854a811935062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20TUAILLON?= Date: Thu, 7 Dec 2023 16:49:09 +0100 Subject: [PATCH 4/4] fix markdown prob --- docs/b2c-applications.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/b2c-applications.md b/docs/b2c-applications.md index 84ca3bd42..4bc505f79 100644 --- a/docs/b2c-applications.md +++ b/docs/b2c-applications.md @@ -23,7 +23,6 @@ By the end, you should have recorded the following information: * 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**.