使用谷歌或脸书登录从移动(Android 和 iOS)应用程序注册 WSO2 API 管理器最终用户 [英] WSO2 API Manager end user registration from Mobile(Android and iOS) Application using google or facebook sign-in

查看:32
本文介绍了使用谷歌或脸书登录从移动(Android 和 iOS)应用程序注册 WSO2 API 管理器最终用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用 WSO2 API Manager 1.10 和 WSO2 Identity server 5.1.0 来管理后端 REST API,Android 和 iOS 应用程序将使用这些 API.对于最终用户(移动应用程序用户)访问公开的 API,流程如下是:-1.用户使用WSO2 SCIM创建用户API注册到WSO2 IS服务器.2.用户请求访问令牌将用于访问API.

We are using WSO2 API Manager 1.10 and WSO2 Identity server 5.1.0 for managing back end REST APIs which will be consumed by Android and iOS application.For a end user(Mobile App user) to access the APIs exposed,process followed is:- 1.User registers to WSO2 IS server using WSO2 SCIM create user API. 2.User request for access token which will be used for accessing the APIs.

我们计划在我们的移动应用中添加 Google 和 Facebook 登录功能,这将帮助最终用户避免在 WSO2 IS 中创建用户.WSO2 API Manager 是否支持这种实现?如果是这样,我们需要对当前设置进行哪些配置更改?

We are planning to add Google and facebook sign in feature in our Mobile app which will help end user avoid user creation in WSO2 IS. Does WSO2 API Manager support this sort of implementation? if so,what are the cofiguration changes we need to do to our current setup?

推荐答案

您可以使用身份联合来实现这一点.IS 将充当密钥管理器,并且可以将身份验证联合到 facebook/google.您可以在此博客中找到如何配置 facebook 以获取访问令牌 [1].同样,您可以添加 google for federation[2]

You can achieve this using identity federation. IS will act as key manager as well as it can federate the authentication to facebook/google. you can find how facebook can be configured to get access token in this blog[1]. Similarly you can add google for federation[2]

[1] http://nuwanzone.blogspot.com/2015/10/getting-access-tokens-for-wso2-api.html[2] https://docs.wso2.com/display/IS510/Configuring+Google

这篇关于使用谷歌或脸书登录从移动(Android 和 iOS)应用程序注册 WSO2 API 管理器最终用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆