问题
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.
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?
回答1:
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
来源:https://stackoverflow.com/questions/41763763/wso2-api-manager-end-user-registration-from-mobileandroid-and-ios-application