With a Facebook identity service, a user can access Facebook resources through Kony Fabric applications. Kony Fabric supports OAuth2.0 authentication mode for Facebook identity service.
For example, when a user logs into a Kony Fabric application by using the Facebook identity provider, the Kony Fabric application redirects the user to log in to a Facebook account. After the user logs into Facebook, Facebook issues an authorization code to the user. The user sends the authorization code to the application. Kony exchanges the authorization code for the access token and issues Kony token. By using Kony token, the user can access the application or web resources.
To configure a Facebook identity service using OAuth 2.0 authentication mode, follow these steps:
Note: Fields marked with an asterisk are mandatory.
https://<accountID>.auth.konycloud.com/OAuth2/Callback
.Important: Configure your Facebook app to accept requests from authentication service by typing the auth.konycloud.com
in the App Domain text field.
In the Scope text box, enter the list of permissions that a user needs to provide while in the user Facebook log-in page. The list can contain more than one permission. The list must contain a comma-separated valid permission. The list of permissions accepted by Facebook does not contain spaces. For the full list of permissions, refer to Permissions with Facebook Login.
For example, if you configure the email
permission as scope, after you log in Facebook for the first time, Facebook displays the following Log in with Facebook dialog with the configured permissions. Click OK to share your permissions (public profile and email) with Kony Fabric:
After entering the above details, click the Test Login button to verify the credentials. The test results are displayed in the Identity Response dialog.
Note: You can view the service in the Data Panel feature of Kony Visualizer. By using the Data Panel, you can link back-end data services to your application UI elements seamlessly with low-code to no code. For more information on Data Panel, click here.
Copyright © 2020 Kony, Inc. All rights reserved. |