title | description | services | documentationcenter | author | manager | editor | ms.assetid | ms.service | ms.workload | ms.tgt_pltfrm | ms.devlang | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Azure Active Directory B2C: WeChat configuration | Microsoft Docs |
Provide sign-up and sign-in to consumers with WeChat accounts in your applications that are secured by Azure Active Directory B2C. |
active-directory-b2c |
parakhj |
krassk |
parakhj |
d2424c66-ba68-4d82-847e-d137683527b0 |
active-directory-b2c |
identity |
na |
na |
article |
3/26/2017 |
parakhj |
Note
This feature is in preview.
To use WeChat as an identity provider in Azure Active Directory (Azure AD) B2C, you need to create a WeChat application and supply it with the right parameters. You need a WeChat account to do this. If you don’t have one, you can get one by signing up through one of their mobile apps or by using your QQ number. After that, get your account registered with the WeChat developer program. You can find more information here.
- Go to https://open.weixin.qq.com/ and log in.
- Click on 管理中心 (management center).
- Follow the necessary steps to register a new application.
- For 授权回调域 (callback URL), enter
https://login.microsoftonline.com/te/{tenant_name}/oauth2/authresp
. For example, if yourtenant_name
is contoso.onmicrosoft.com, set the URL to behttps://login.microsoftonline.com/te/contoso.onmicrosoft.com/oauth2/authresp
. - Find and copy the APP ID and APP KEY. You will need these later.
- Follow these steps to navigate to the B2C features blade on the Azure portal.
- On the B2C features blade, click Identity providers.
- Click +Add at the top of the blade.
- Provide a friendly Name for the identity provider configuration. For example, enter "WeChat".
- Click Identity provider type, select WeChat, and click OK.
- Click Set up this identity provider
- Enter the App Key that you copied earlier as the Client ID.
- Enter the App Secret that you copied earlier as the Client Secret.
- Click OK and then click Create to save your WeChat configuration.