Cross-platform identifier-first login - custom by user

We have an enterprise use case where we’d like to authenticate different users to different IdPs. We require more granularity than “identifier-first by email domain”.

Does anyone have any ideas on how to implement this (assuming the application contains a mapping between user and target IdP)? It would need to work between both web and mobile (react-native with webauth via system browser).

Thanks!