问题标签 [huawei-account]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
huawei-mobile-services - The Huawei Account Server failed to display the email address
The email address is contained in the account information, but is not found in the response to the /oauth2/v3/tokeninfo API call from the Huawei Account Server. Why?
Description
After integrating HUAWEI Account Kit, I call the /oauth2/v3/tokeninfo API of the Huawei Account Server to obtain the ID token, but cannot find the email address in the response body. The response in this case is as follows:
The response in the API reference is as follows:
Figure 1 Response upon a call success
huawei-mobile-services - 使用服务器端华为移动服务 API 获取应用级访问令牌时出现错误代码 401
从昨天开始,我在使用此 API 从服务器访问令牌时遇到此错误代码 401:https ://oauth-login.cloud.huawei.com/oauth2/v3/token
仅供参考,我正在使用 Postman。任何人都可以帮我解决这个问题。
java - Huawei Account Kit 无法使用,如何实施?
试图在我们的应用程序中实施 Account Kit 但它不起作用。
使用 com.huawei.hms:hwid:5.0.3.301 并在登录时显示空白活动。从这个空白活动中点击返回按钮,日志将显示 onActivityResult 1002 0。
尝试从https://github.com/HMS-Core/huawei-account-demo构建演示项目。是一样的,点击登录什么都没有,点击后退按钮会显示登录失败。
可能是什么问题?
#UPDATE:演示中缺少 ags 文件,因此活动为空白。添加 AGS 文件修复了它。
在验证原生 android SDK 构建确实在我的设备上运行后,继续尝试在 Unity 上实现。
下载 4.0.4.300 AccountSDK 和 4.0.4.301 核心。运行 APK 并出现以下错误:
然后我将 HMSSdkUI 清单中的桥接活动复制到我的清单中并构建了应用程序:
但是,请求登录仍会导致空白活动。这是日志:我怀疑它与 BridgeActivity 有关?
huawei-mobile-services - 华为认证服务码:490 cse internal bad request
我在我的应用程序中使用华为身份验证服务。有时,当用户使用华为 id 登录时,我得到代码:490 cse internal bad request error。这个错误的原因是什么?
android - 如何在华为应用程序库上发布应用程序进行测试
在华为商店,我们可以通过“版本/升级”菜单发布应用升级。但是一旦我们发布它就会直接出现在商店中。
有没有什么方法可以在华为开发者控制台上发布一个应用程序进行测试,比如在 Google Play 控制台中进行 Beta/Alpha 短信测试?
huawei-mobile-services - 华为短信检索器 api 无法正常工作和华为设备
我正在尝试在华为设备中检索 OTP。但它不工作。
我已经在华为开发者控制台中创建了具有所有要求的应用程序。
下面是我用来检索短信的代码。
广播接收器
在这方面的任何帮助都是有益的。
oauth-2.0 - 为什么我从授权码调用访问令牌交换失败?
我正在使用华为帐号套件的验证码模式将用户登录到我的应用程序。为了检查应用服务器到帐户服务器的行为,我使用如下所示的 cURL 命令从授权代码中获取访问令牌。但是下面的命令会返回错误。
“body.txt”文件包含请求所需的信息:
命令返回:
我应该怎么做才能让这个 API 调用按预期使用 cURL 工作?
android - 究竟什么情况下静默登录会失败?
我已经开始集成Account Kit,但有很多问题。
最初我想使用刷新令牌来刷新用户的会话,但现在我意识到我可以使用静默登录来代替。
我想知道在什么情况下静默登录可能会失败。
我已阅读此文档:
在 10.000 次静默登录后,它将失败。会发生这样的事情吗?静默登录是否与刷新令牌的有效性有关?
我认为只有当用户之前没有登录或没有授权所有请求的范围时,静默登录才会失败。
我不知道我的猜测是否正确。还有人知道吗?