DEV Community

HarmonyOS
HarmonyOS

Posted on

The UnionID obtained by logging into different services with the same Huawei account is different

Read the original article:The UnionID obtained by logging into different services with the same Huawei account is different

Question

In the HarmonyOS system, the same Huawei account logs in to different meta-services, but the obtained UnionID is different, which is inconsistent with the official website documentation? The official website explains: "For the same Huawei account, different applications return different OpenID values, but the returned UnionID is the same."

Short Answer

If the UnionID is inconsistent, you need to check whether it is under the same subject. Only under the same subject, for the same Huawei account, different applications return different OpenID values, but the returned UnionID is the same. For details, please refer to: OpenID and UnionID format description

Applicable Scenarios

Login with HuaweiID

Written by Mucahid Kincir

Top comments (0)