Wechat Web App

Posted onby admin
  1. At its beginning, WeChat was a messaging app that quickly extended its social media functionalities. It included services such as: payment solutions for brick and mortar shops, online payment solutions, taxi ordering, purchasing transportation tickets and bike rentals. Whatever could be imagined.
  2. However, Night Eye makes it easy to enjoy a smooth and feature-rich dark theme on the WeChat web app. Having WeChat dark mode on, you can expect properly converted font, icons, colors, and images. The result is both a crisp and smooth dark interface that you would absolutely adore. The aesthetic design isn’t the only reason you should choose the WeChat dark theme; you have many fascinating health.
-->

Before you begin, use the selector above to choose the type of policy you’re configuring. Azure AD B2C offers two methods of defining how users interact with your applications: through predefined user flows, or through fully configurable custom policies. The steps required in this article are different for each method.

Prerequisites

WeChat is more than a messaging and social media app – it is a lifestyle for over one billion users across the world. Chat and make calls with friends, read news and use local services in Official. WeChat is a fun app to use, but you can only talk to those who have the app as well. This is a disadvantage as there are some who might not know about the app. Text messages can be sent to one person at a time, or you can send a group text.

  • Create a user flow to enable users to sign up and sign in to your application.
  • If you haven't already done so, register a web application, and enable ID token implicit grant.
  • Complete the steps in the Get started with custom policies in Active Directory B2C.
  • If you haven't already done so, register a web application, and enable ID token implicit grant.

Create a WeChat application

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. If you don't already have a WeChat account, you can get information at https://kf.qq.com.

Register a WeChat application

  1. Sign in to https://open.weixin.qq.com/ with your WeChat credentials.
  2. Select 管理中心 (management center).
  3. Follow the steps to register a new application.
  4. For the 授权回调域 (callback URL), enter https://your-tenant-name.b2clogin.com/your-tenant-name.onmicrosoft.com/oauth2/authresp. If you use a custom domain, 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.
  5. Copy the APP ID and APP KEY. You need both of them to configure the identity provider to your tenant.

Configure WeChat as an identity provider

  1. Sign in to the Azure portal as the global administrator of your Azure AD B2C tenant.
  2. Make sure you're using the directory that contains your Azure AD B2C tenant by selecting the Directory + subscription filter in the top menu and choosing the directory that contains your tenant.
  3. Choose All services in the top-left corner of the Azure portal, search for and select Azure AD B2C.
  4. Select Identity providers, then select WeChat (Preview).
  5. Enter a Name. For example, WeChat.
  6. For the Client ID, enter the APP ID of the WeChat application that you created earlier.
  7. For the Client secret, enter the APP KEY that you recorded.
  8. Select Save.

Add WeChat identity provider to a user flow

Wechat web application
  1. In your Azure AD B2C tenant, select User flows.
  2. Click the user flow that you want to add the WeChat identity provider.
  3. Under the Social identity providers, select WeChat.
  4. Select Save.
  5. To test your policy, select Run user flow.
  6. For Application, select the web application named testapp1 that you previously registered. The Reply URL should show https://jwt.ms.
  7. Select the Run user flow button.
  8. From the sign-up or sign-in page, select WeChat to sign in with WeChat account.

If the sign-in process is successful, your browser is redirected to https://jwt.ms, which displays the contents of the token returned by Azure AD B2C.

Create a policy key

You need to store the client secret that you previously recorded in your Azure AD B2C tenant.

  1. Sign in to the Azure portal.
  2. Make sure you're using the directory that contains your Azure AD B2C tenant. Select the Directory + subscription filter in the top menu and choose the directory that contains your tenant.
  3. Choose All services in the top-left corner of the Azure portal, and then search for and select Azure AD B2C.
  4. On the Overview page, select Identity Experience Framework.
  5. Select Policy Keys and then select Add.
  6. For Options, choose Manual.
  7. Enter a Name for the policy key. For example, WeChatSecret. The prefix B2C_1A_ is added automatically to the name of your key.
  8. In Secret, enter your client secret that you previously recorded.
  9. For Key usage, select Signature.
  10. Click Create.

Configure WeChat as an identity provider

Wechat

To enable users to sign in using a WeChat account, you need to define the account as a claims provider that Azure AD B2C can communicate with through an endpoint. The endpoint provides a set of claims that are used by Azure AD B2C to verify that a specific user has authenticated.

You can define a WeChat account as a claims provider by adding it to the ClaimsProviders element in the extension file of your policy.

  1. Open the TrustFrameworkExtensions.xml.

  2. Find the ClaimsProviders element. If it does not exist, add it under the root element.

  3. Add a new ClaimsProvider as follows:

  4. Set client_id to the application ID from the application registration.

  5. Save the file.

Add a user journey

At this point, the identity provider has been set up, but it's not yet available in any of the sign-in pages. If you don't have your own custom user journey, create a duplicate of an existing template user journey, otherwise continue to the next step.

  1. Open the TrustFrameworkBase.xml file from the starter pack.
  2. Find and copy the entire contents of the UserJourney element that includes Id='SignUpOrSignIn'.
  3. Open the TrustFrameworkExtensions.xml and find the UserJourneys element. If the element doesn't exist, add one.
  4. Paste the entire content of the UserJourney element that you copied as a child of the UserJourneys element.
  5. Rename the Id of the user journey. For example, Id='CustomSignUpSignIn'.

Add the identity provider to a user journey

Now that you have a user journey, add the new identity provider to the user journey. You first add a sign-in button, then link the button to an action. The action is the technical profile you created earlier.

  1. Find the orchestration step element that includes Type='CombinedSignInAndSignUp', or Type='ClaimsProviderSelection' in the user journey. It's usually the first orchestration step. The ClaimsProviderSelections element contains a list of identity providers that a user can sign in with. The order of the elements controls the order of the sign-in buttons presented to the user. Add a ClaimsProviderSelection XML element. Set the value of TargetClaimsExchangeId to a friendly name.

  2. In the next orchestration step, add a ClaimsExchange element. Set the Id to the value of the target claims exchange Id. Update the value of TechnicalProfileReferenceId to the Id of the technical profile you created earlier.

The following XML demonstrates the first two orchestration steps of a user journey with the identity provider:

Configure the relying party policy

The relying party policy, for example SignUpSignIn.xml, specifies the user journey which Azure AD B2C will execute. Find the DefaultUserJourney element within relying party. Update the ReferenceId to match the user journey ID, in which you added the identity provider.

In the following example, for the CustomSignUpOrSignIn user journey, the ReferenceId is set to CustomSignUpOrSignIn:

Upload the custom policy

  1. Sign in to the Azure portal.
  2. Select the Directory + Subscription icon in the portal toolbar, and then select the directory that contains your Azure AD B2C tenant.
  3. In the Azure portal, search for and select Azure AD B2C.
  4. Under Policies, select Identity Experience Framework.
  5. Select Upload Custom Policy, and then upload the two policy files that you changed, in the following order: the extension policy, for example TrustFrameworkExtensions.xml, then the relying party policy, such as SignUpSignIn.xml.

Test your custom policy

  1. Select your relying party policy, for example B2C_1A_signup_signin.
  2. For Application, select a web application that you previously registered. The Reply URL should show https://jwt.ms.
  3. Select the Run now button.
  4. From the sign-up or sign-in page, select WeChat to sign in with WeChat account.

If the sign-in process is successful, your browser is redirected to https://jwt.ms, which displays the contents of the token returned by Azure AD B2C.

By Nathan E. Malpass, Last updated: December 28, 2019

I have both iPhone and Android smartphones. And I have a variety of apps on these phones which I use for both work and personal reasons. One such app I have is WeChat. I use it every day for communication and for other purposes as well. One problem I have is that I want to transfer WeChat files from my smartphones to my computer. How do I do this?

~Android and iPhone User

People Also ReadTop Tools to Backup Your Apps And App Data for Android DevicesHow to Backup Your Android Device to A PC?

Part I: Introduction

WeChat is an application that is famous for its messaging and calling purposes. However, it’s useful in some other way too.

It has a file transfer feature that gives you another way of using it on your phone. Plus, it supports multiple platforms such as Android, Windows, iOS, macOS, and it even has a web version.

Some users have actually stated that WeChat is one of the best alternatives for Firedrop or Airdrop. This is to actually transfer files (or data) between two devices.

If you don’t have a USB cable, we will teach you how to transfer files such as videos, pictures, Word files, Excel files, and PDF files.

Part II: Wechat File Transfer Using Web WeChat

The method of using Web WeChat to transfer various files such as videos, pictures, PDF files, and other types of files, is a recommended way to share data between smartphones and your computer.

It is not even necessary to download a specific software on your Mac device or Windows PC.

Wechat

What you have to do is to visit WeChat for your webpage and then scan the QR code using your iPhone or Android phone.

This is in order to log into WeChat on the said website. After which, you have to confirm the operation within your smartphone.

Now, you will have the ability to use WeChat on your web browser. After this happens, you will be able to use the Web version of WeChat in order to transfer files from your smartphone (e.g. Android or iPhone) to a Windows PC or Mac device. You can also do it the other way around.

Wechat File Transfer Using Web WeChat from Your iPhone/ Android towards Your Computer

If you simply want to send files from your Android to your computer (which also is the same case for iPhone devices), you should log into your WeChat account on the web version before you do so.

Do this by following the steps we have stated above. Now, below, we will show you an example of how to do it:

  • Step 01 - Find the file located on your smartphone.
  • Step 02 - Select the specific file.
  • Step 03 - Press the Share button.
  • Step 04 - Find the icon labeled WeChat. Press this icon.
  • Step 05 - Receiver should be chosen as File Transfer.
  • Step 06 - Go to the PC and go to Web WeChat. You will now see the file after it has been transferred.
  • Step 07 - Press the Download button.

Wechat File Transfer Using Web WeChat from Your Computer to Your iPhone Or Android

  • Step 01 - Log into Web WeChat on your computer.
  • Step 02 - Select File Transfer.
  • Step 03 - Press the folder icon located at the bottom of the chat interface.
  • Step 04 - Choose the files you want from your computer.
  • Step 05 - The files will now be displayed on WeChat’s typing area. Press the button named Send and it will transfer the files from your computer to your Android or iPhone.
  • Step 06 - Use your smartphone again. Select File Transfer located on the WeChat interface and you will be able to see the file located there.
  • Step 07 - Tap the file displayed and it will now be downloaded on your smartphone.

Part III: Wechat File Transfer Through the WeChat Client

There are what we call WeChat for Windows (operating systems 7, 8, 10) and WeChat for Mac devices. You can get this WeChat client and download it on your computer in order to utilize the file transfer feature.

Now, with the software downloaded on your computer, you don’t have to think about the Web version of WeChat being closed or accidentally logged out.

How to Transfer WeChat Files from Your iPhone Or Android to Your Computer

  • Step 01 - Download the free WeChat software for Windows or Mac
  • Step 02 - Install this within your computer.
  • Step 03 - Log into your WeChat account. Do this by scanning the QR code using your smartphone.
  • Step 04 - Open your smartphone and locate the file you wish to transfer.
  • Step 05 - Select the file.
  • Step 06 - Press the Share button.
  • Step 07- Choose the WeChat application. This is where you want to share it.
  • Step 08 - Select File Transfer as the receiver.
  • Step 09 - Go to your computer and go to the WeChat platform.
  • Step 10 - Download the file and save it.

Google Play Store Chat

Part IV: Bonus: Tool for Bulk Transfer

There are tools you can use for bulk transfer of files from your iPhone or Android phone to your computer. The tool is iOS Data Backup & Restore (for iPhone) and Android Data Backup & Restore.

Bulk Transfer for iPhone Devices

Let’s go to iOS Data Backup & Restore first. Below are the advantages (and also the features) of the said software:

01 - You only need a few clicks to restore your backup to your iOS device.

02 - It gives you the power to review any data or file you have from the backup.

03 - It allows you to export files from the back up towards your own computer.

04 - It is 100% secure. Viruses and malware (or anything that may harm your device) are not contained inside the software. Only you have the access to the data you have.

05 - Data won’t be lost during the restore process. It will always be safe.

06 - The software will not overwrite your data.

07 - You are provided with a 30-day free trial. This means you get to experience the advantages of the tool without having to cash out money for it first.

08 - You have one-on-one support and you can also get support through email.

Here’s how to use this tool step-by-step:

Step 01 - First, connect your device to your computer by utilizing the USB connector that comes with this device.

Step 02 - Install the FoneDog Toolkit on your computer. This software can be used on both Windows and Mac systems.

Step 03 - Open the FoneDog Toolkit.

Step 04 - Select iOS Data Backup & Restore located on the main interface of the software.

Step 05 - Select iOS Data Backup.

Step 06 - Choose the backup mode that you wish. There are two options, Standard Backup and Encrypted Backup. The latter gives you the ability to put a password on your backup file in order to protect sensitive information.

Step 07 - Press the button labeled Start. The software will show you a list of data types that you may wish to backup. These include Photos, Messages, Contacts, Applications, and Messages, etc.

Step 08 - Select the type of data you may wish to back up.

Step 09 - Press Next.

Step 10 - Wait for the software to backup your data.

After which, you have to restore your data to the device you wish to restore it to:

Step 11 - Ensure that your iPhone or your iOS device is connected to your Windows PC or Mac computer.

Step 12 - Select iOS Data Backup & Restore.

Step 13 - Press iOS Data Restore.

Step 14 - FoneDog toolkit will now display all the backups that you have. Select the backup file you want.

Step 15 - Select View Now button.

Step 16 - FoneDog Toolkit will start to scan the backup file you have just selected.

Step 17 - Once the process of scanning is done, you will be able to preview the data on the backup. Select which files you want to restore to your device.

Step 18 - Select Restore to Device OR you can select Restore to PC.

Bulk Transfer for Android Devices

Here’s how to use the Android Data Backup & Restore for bulk transfer.

Step 01 - Download the software FoneDog Toolkit on your personal computer.

Wechat Download

Step 02 - Launch the said software on your personal computer.

Step 03 - Choose Android Data Backup & Restore.

Step 04 - Connect, using your USB cable, the Android phone towards your personal computer.

Step 05 - Ensure that USB debugging mode is enabled on your smartphone.

Step 06 - Select the option Device Data Backup.

Step 07 - Select the type of data you wish to backup.
Step 08 - Press the Start button.

Wechat For Pc Windows 10

Step 09 - Once backup is already finished, press the OK button.

Then, you can restore it now to the device you wish to restore it to:

Step 10 - On the main interface, select Device Data Restore.

Step 11 - Choose the backup you wish to restore.

Step 12 - Select the data type you wish to restore.

Step 13 - Choose the files you wish to restore.

Step 14 - Press Restore.

Step 15 - Confirm the process.

Part V: Conclusion

Transferring WeChat files from your iPhone or Android phone is as easy as 1-2-3. You can do it via Web WeChat or via WeChat Client software.

Wechat Web App

Also, you can do bulk transfer using a tool called FoneDog’s Android Data Backup & Restore (for Android devices) OR FoneDog’s iOS Data Backup & Restore (for iOS devices).

Wechat In-app Web-based Payment

>Wechat >How to Transfer WeChat Files between the Computer and the Android or iPhone

Wechat Web App Download

Comment ()