JIT migration with Facebook
This chapter will guide you through the steps required to configure JIT migration with Facebook in Onegini IDP. This feature allows users to migrate automatically when email attribute is returned within Facebook's Oauth2 response. Email attribute value is used to verify if user account exists in external data store that is used for migration.
What you need?
To successfully complete this topic guide you need to ensure following prerequisites:
- Onegini IDP instance must to be running, for the sake of this guide we assume it's available under http://idp-core.dev.onegini.me address
- Onegini IDP must have the
Username & password
identity provider configured - Onegini IDP must have the
Facebook
identity provider configured as described in Configure Facebook IdP
Configure JIT migration in Onegini IDP
Visit http://idp-core.dev.onegini.me:8082/admin page and login to Onegini IDP admin console.
Select Config
menu option and navigate to Feature management
tab and check `Migration enabled
in Migration
section.
Testing
To test JIT migration with Facebook please try login to Onegini IDP by selecting Facebook identity provider available on login page. On the migration login page please provide email address and password of the existing account in external system. The account will be migrated from external system and you should see the dashboard with email address. The newly created person profile at Onegini IDP will be coupled with the Facebook account.