HOME-297 | Add email entry to Login screen for auth method discovery

A new authentication method using the users email has been added,  as well as the ability for the user to select their own SSO provider.

 

 Existing Behavior: 

Scenarios in which you Enter Username into Username field 

  • No user exists with this as a username

    - Screen will show password input and username input is disabled

  • User exists with Voyant Auth (default)

    - Screen will show  password input and username input is disabled

  • Case 2: User exists with One time password Auth method

    • UI shows OTP login flow (“We have sent a code” with input)

New Behavior: 

Scenarios in which you Enter Username into Username field 

  • No user exists with this as a username or email

    - Screen will show password input and username input is disabled

  • The input is a user’s username with Voyant Auth (default)

    - Screen will show password input and username input is disabled

  • This string is a user’s username with One time password Auth method

    - Screen will display OTP login flow (“We have sent a code” with input)

  • This email is one or more users' email and the users exclusively have some Auth Method other than DEFAULT or ONE_TIME_PASSWORD (e.g. they have SAML or OPEN_ID)

    - The screen will show available SSO login options as buttons, that when clicked redirect user to SSO provider. If there is only 1, user is auto-redirected.

  • The input provided is used as a username for a Voyant Auth (Default or OTP) and is used as an email on one or more users who are configured with with some SAML/OPEN_ID

    - The screen either shows password input or OTP login flow

    - The screen shows all available SSO providers as buttons below (no auto-redirect)