I have an application and customers from different companies who want to log in to my app. I want some of my customers to use authentication with email and password only, some other with google only and some other with SSO only.
Should I create one application/connection? And authorize one connection method by application?
May I implement login in two step, first email address, then with the domain of the email address, detect the good authentication method and redirect the user to google auth or email&pwd… ?