Is there a way to specify a connection but always display the social options? We are using Identity First flows.
If I send a user to Auth0 without specifying a connection, it displays an email field and a Google sign-in button. But if I specify a connection, only that option is available.
The use case for this question comes from our desire to start with connection=email but give them the option to use Google instead. We still need to support passwords, we prefer people choose passwordless/google instead.
By specifying a connection in the authorization request, it forces the user through a determined authentication path, bypassing their option to choose another authenticator. You can either set two authentication options that you want your users to have access to, or use a specific one via the connection parameter.
I recommend reading through the following documentations for further information :
What is the format of this parameter? In the past, I’ve tried e.g. connection=email,google-oauth2 and connection=[email,google-oauth2] and neither worked (unless support was recently added)
Apologies for the confusion that my previous message might have created, allow me to rephrase.
If you use/pass the connection parameter, this means that only one authentication option will be used, namely the one you set ( example : connection=email ) and there cannot be multiple ones set, but if you want your users to have multiple login options, then you need to remove/not pass the connection parameter. Depending on your authentication flow preference, you can either allow multiple login option by not adding the connection parameter, or restrict to only one specific connection by adding the parameter.
Hope this clears things up! If you have any further questions, do not hesitate to reach out to us.