We want to simplify our infrastructure by reducing the number of individual applications and connections.
Currently we are using several distinct frontend applications that each use their own connection and use tokens with different audiences. I now would like to merge all these (about 30) connections and applications into only one connection satisfying the following conditions:
- All users should be migrated to this new connection. I think this can be achieved using the import/export extension or the management API.
- Additionally, accounts with same email address from that reside on different connections should be merged into one account. Is there a way to do this during the import?
- This migration should happen quickly without any user interaction and without the need to update the password.
Is there an easy way to achieve this? The only solution I could think of so far, would be to create a new connection and activate “import users” and create a login script that would verify if the username/password combination would be valid in one of the existing connections. However I would prefer a solution that could do the whole migration at once so the old connections could just be deleted.
Any help would be greatly appreciated!!