0

我已经开始使用 App ID 来管理我的节点应用程序中的客户。我遵循了 GitHub 中提供的示例。但是,我没有看到任何关于如何自定义它以与我的域交互的指南或示例。我不使用默认路由 ( https://appid-oauth.eu-gb.bluemix.net ),因为它们出现在以下示例图像中:https ://www.ibm.com/blogs/bluemix/2017/ 11/new-app-id-let-users-sign-sign-apps-email-password/

在 Android ( https://www.ibm.com/blogs/bluemix/2018/01/use-brand-ui-user-sign-app-id/ )中有一个示例,但在 Node.js 和IOS。

我该如何解决这个问题?

4

1 回答 1

0

每次使用默认自助服务 UI(注册并忘记密码)时,您都会看到默认路由。

目前您只能自定义登录屏幕。登录按钮应调用“<em>signinWithResourceOwnerPassword”API。注册按钮应调用“<em>launchSignUp”API。忘记密码应该调用“<em>launchForgotPassword”API。

所有 API 和使用示例都可以在我们的 SDK 的自述文件中找到。

安卓:https ://github.com/ibm-cloud-security/appid-clientsdk-android#managing-cloud-directory-with-the-android-sdk

IOS:https ://github.com/ibm-cloud-security/appid-clientsdk-swift#managing-cloud-directory-with-the-ios-swift-sdk

节点:https ://github.com/ibm-cloud-security/appid-serversdk-nodejs#cloud-directory

于 2018-02-06T09:16:35.853 回答