Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation of OpenID Connect Setup Instructions for Azure #2680

Merged
merged 4 commits into from
Dec 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/b2c-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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://<tenant-name>.b2clogin.com/<tenant-name>.onmicrosoft.com/v2.0/`.
* Replace `<tenant-name>` 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://<tenant-name>.b2clogin.com/<tenant-name>.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=<policy-name>`.
* Replace `<tenant-name>` and `<policy-name>` 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**.
Expand Down
Loading