A better way to do this is to create an Auth0 custom DB connection that connects to your legacy login platform. Then both the legacy apps and the migrated-to-Auth0 apps are effectively using the same login credentials and profiles.
Once all your legacy apps are converted, you can then move users into Auth0
John