/aad-b2c-wechat

Azure AD B2C with WeChat IdP for web & mobile app

Primary LanguageC#

aad-b2c-wechat

Scenario

This demo shows how to use Azure AD B2C with WeChat as identity provider for signing up/in. It contains two scenarios, web app and mobile app (Android). The user experience of these two scenarios are different. For web app, the user uses WeChat mobile app to scan the WeChat QR code on the web to login. There is no QR code scanning for mobile app, since it is unreasonable for the user to use a second mobile phone to scan the QR code on the first mobile phone. The mobile app will trigger the WeChat app to prompt and asks the user to login.

  • Sign-up procedure for web app

    1. Click sign-up button in the web app
    2. Scan the WeChat QR code on the web
    3. Input name and mobile number (here mobile number will be checked with Azure function)
    4. MFA
  • Sign-up procedure for mobile app (Android)

    1. Click sign-up button in the mobile app
    2. WeChat mobile app will prompt and ask the user to login
    3. Input name and mobile number (here mobile number will be checked with Azure function)
    4. MFA

Project structure

There are two separated folders for web app and mobile app (Android).