In every authentication transaction, we submit a request to the
/authn endpoint to start primary authentication. This step requires a username and password to evaluate against the Password Policy, MFA policy, and Sign-On Policy configured on your Okta tenant.
But, what if you want to allow the user to login with an alternative id such as a "rewards number", "loyalty number", etc?
This requires a "pre-step" before starting the authentication. In other words, a way to change the username with the correct username prior to validating against the
Note that in the sign-in-widget example, we are using simple checks to illustrate (i.e., email format) the point.