Skip to content

Commit f4f1077

Browse files
committed
Push to fork
1 parent fe6f323 commit f4f1077

File tree

8 files changed

+17
-191
lines changed

8 files changed

+17
-191
lines changed

articles/active-directory-b2c/identity-provider-wechat.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,26 @@ zone_pivot_groups: b2c-policy-type
2828

2929
## Create a WeChat application
3030

31-
To enable sign-in for users with a WeChat account in Azure Active Directory B2C (Azure AD B2C), you need to create an application in [WeChat management center](https://open.weixin.qq.com/). If you don't already have a WeChat account, you can get information at [https://kf.qq.com](https://kf.qq.com/faq/161220Brem2Q161220uUjERB.html).
31+
To enable sign-in for users with a WeChat account in Azure Active Directory B2C (Azure AD B2C), you need to create an application in [WeChat management center](https://open.weixin.qq.com/). If you don't already have a Weixin Open Platform account, you can get information at [https://kf.qq.com](https://kf.qq.com/faq/161220Brem2Q161220uUjERB.html). The Weixin Open Platform account and application must be approved to link WeChat as an identity provider to your user flow.
3232

3333
### Register a WeChat application
3434

3535
1. Sign in to [https://open.weixin.qq.com/](https://open.weixin.qq.com/) with your WeChat credentials.
3636
1. Select **管理中心** (management center).
3737
1. Follow the steps to register a new application.
38-
1. For the **授权回调域** (callback URL), enter `https://your-tenant-name.b2clogin.com/your-tenant-name.onmicrosoft.com/oauth2/authresp`. If you use a [custom domain](custom-domain.md), enter `https://your-domain-name/your-tenant-name.onmicrosoft.com/oauth2/authresp`. Replace `your-tenant-name` with the name of your tenant, and `your-domain-name` with your custom domain.
38+
1. Ensure the application status is "Approved".
39+
40+
- <img src="media/identity-provider-azure-ad-b2c/ApprovedApp.png" alt="ApprovedApp" width="1200"/>
41+
42+
1. For the **Development information** (authorization callback domain), enter `your-tenant-name.b2clogin.com`.
43+
- Mooncake callback URL: `your-tenant-name.b2clogin.cn`
44+
45+
- <img src="media/identity-provider-azure-ad-b2c/CallbackDomain.png" alt="CallbackDomain" width="1200"/>
46+
3947
1. Copy the **APP ID** and **APP KEY**. You need both of them to configure the identity provider to your tenant.
4048

49+
- <img src="media/identity-provider-azure-ad-b2c/AppInfo.png" alt="AppInfo" width="1200"/>
50+
4151
::: zone pivot="b2c-user-flow"
4252

4353
## Configure WeChat as an identity provider
@@ -51,12 +61,17 @@ To enable sign-in for users with a WeChat account in Azure Active Directory B2C
5161
1. For the **Client secret**, enter the APP KEY that you recorded.
5262
1. Select **Save**.
5363

64+
- <img src="media/identity-provider-azure-ad-b2c/WeChatClientInfo.png" alt="WeChatClientInfo" width="800"/>
65+
5466
## Add WeChat identity provider to a user flow
5567

5668
1. In your Azure AD B2C tenant, select **User flows**.
5769
1. Click the user flow that you want to add the WeChat identity provider.
5870
1. Under the **Social identity providers**, select **WeChat**.
5971
1. Select **Save**.
72+
73+
- <img src="media/identity-provider-azure-ad-b2c/LinkWeChatIdp.png" alt="LinkWeChatIdp" width="1200"/>
74+
6075
1. To test your policy, select **Run user flow**.
6176
1. For **Application**, select the web application named *testapp1* that you previously registered. The **Reply URL** should show `https://jwt.ms`.
6277
1. Select the **Run user flow** button.

identity-provider-wechat.md

Lines changed: 0 additions & 189 deletions
This file was deleted.

0 commit comments

Comments
 (0)