/login
page directly, they will receive an error unless you configured a default login route. To learn more, review Configure Default Login Routes. You should always redirect users to the proper authorization request endpoint (e.g., /authorize
if you are using Connect).
login_hint
when redirecting to Auth0 and use this information to populate the username/email field for the login or signup page.
screen_hint=signup
parameter when redirecting to /authorize
. You can combine this paramter with prompt=login
to indicate whether you want to always show the authentication page or skip the page if an existing session exists./authorize parameters | No existing session | Existing session |
---|---|---|
no extra parameters | Shows the login page | Redirects to the callback url |
screen_hint=signup | Shows the signup page | Redirects to the callback url |
prompt=login | Shows the login page | Shows the login page |
prompt=login&screen_hint=signup | Shows the signup page | Shows the signup page |
google-authenticator
, you must enable that OTP factor in the Dashboard > Security > Multi-Factor Auth section.post-challenge
trigger allows you to present an additional challenge to users after they complete their first step (typically a link in a password reset email) but before they create their new password. Using this trigger, you can redirect users to an external site, such as a third-party verifier, or challenge them with an additional MFA factor. Users must complete this second challenge in order to update their password.
ValidationErrors
or WrongUsernameOrPasswordError
will be displayed on the corresponding pages. To learn more, review Troubleshoot Custom Databases.autocomplete
is set to "new-password"
. This signals the password manager to prompt the user to generate a secure, random password. The user has to provide explicit consent to save the password in the password manager.
On the login page autocomplete
is set to "current-password"
. The login page automatically fills in the password if it’s available in the browser’s password manager.
Note that turning off password autocompletion does not increase security: