IBM App ID自定义/品牌UI

时间:2018-02-05 11:17:30

标签: node.js ibm-cloud app-id ibm-appid

我已开始使用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-branded-ui-user-sign-app-id/)中有一个示例,但在Node.js和iOS中没有。

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

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

目前,您只能自定义登录屏幕。 登录按钮应调用“ signinWithResourceOwnerPassword ”API。 注册按钮应调用“ launchSignUp ”API。 忘记密码应该调用“ 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