Welcome to the Auth0 Community!
I am sorry about the late reply to your inquiry.
I believe the following Knowledge Article might answer your question.
However, as an alternative, once a user completes the authentication flow, perhaps you can assign specific user metadata whenever they use a specific connection to access an application, then you can filter the users depending if they have the metadata specific to a connection assigned to them.
If you have any other questions regarding your implementation, feel free to reply on this post.
Kind Regards,
Nik