I have the following current use case:
- 1 Auth0 tenant
- 1 Application
- 2 Connections
- basic-database-connection (uses email/password)
- enterprise-okta-saml-connection (uses employeeNumber/password)
Is there any setup with Lock that I could do where I default the connection to “enterprise-okta-saml-connection” anytime the value entered is NOT an email address and default it to the basic database connection if an email address is entered instead?
Basically I’m looking to implement the same exact flow as described in the connectionResolver config option docs but where the resolved connection is an enterprise connection instead of a database connection. Since connectionResolver can only resolve database connections, does anyone have an alternative here?