We’re using WorkOS to manage our SSO connections, and Auth0 handles everything else. Currently, we support Google, GitHub, and email/password authentication.
We want SSO users to log in through a separate button and input field, distinct from the standard email/password login. The question is: to achieve this separation, do we need to implement a custom embedded UI, or can Auth0 Lock support this kind of UI differentiation (RHD)?
Our WorkOS setup has been in place for a while and works flawlessly, so we’re confident in that part. What we want now is to move away from a shared input for both “email/password and SSO email” to a clearer split between “email/password input” and “SSO email input”.
This kind of approach can be hard to tackle and implement within the Auth UI and I believe that Auth0 Lock will not be able to handle it out of the box unless you have a really hacky approach to it.
I would recommend to take a look at our Partials documentation regarding implementing some custom logic in order to replicate a HRD behaviour.
One other suggestion would be to create an OIDC connection for both Github and Google so that HRD can be configured on them and save you the hassle of coming up with the login when working with the Partials.
Otherwise, let me know if you have any other questions on the matter!