Skip to content

Files

Latest commit

43bb97e · Aug 3, 2017

History

History
48 lines (39 loc) · 2.46 KB

active-directory-b2c-setup-wechat-app.md

File metadata and controls

48 lines (39 loc) · 2.46 KB
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

Azure Active Directory B2C: Provide sign-up and sign-in to consumers with WeChat accounts

Note

This feature is in preview.

Create a WeChat application

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.

Register a WeChat application

  1. Go to https://open.weixin.qq.com/ and log in.
  2. Click on 管理中心 (management center).
  3. Follow the necessary steps to register a new application.
  4. For 授权回调域 (callback URL), enter https://login.microsoftonline.com/te/{tenant_name}/oauth2/authresp. For example, if your tenant_name is contoso.onmicrosoft.com, set the URL to be https://login.microsoftonline.com/te/contoso.onmicrosoft.com/oauth2/authresp.
  5. Find and copy the APP ID and APP KEY. You will need these later.

Configure WeChat as an identity provider in your tenant

  1. Follow these steps to navigate to the B2C features blade on the Azure portal.
  2. On the B2C features blade, click Identity providers.
  3. Click +Add at the top of the blade.
  4. Provide a friendly Name for the identity provider configuration. For example, enter "WeChat".
  5. Click Identity provider type, select WeChat, and click OK.
  6. Click Set up this identity provider
  7. Enter the App Key that you copied earlier as the Client ID.
  8. Enter the App Secret that you copied earlier as the Client Secret.
  9. Click OK and then click Create to save your WeChat configuration.