This page describes multiple options to create an interface between the IdP and a remote database.
The following solutions
Develop direct interface to include third party databases.
Issue: The data structure might not match the requirements
Golden LDAP
MySQL synchronization