Login methods
You choose how people sign in under Login methods in your project. You can turn on more than one, and people pick the one they want on the sign-in page.
Passwords
Section titled “Passwords”With passwords turned on, people sign up with an email address and a password.
Passwords must be at least 15 characters by default, which is what NIST SP 800-63B recommends when a password is the only thing protecting an account. If you require two-step verification, you can lower the minimum to 8.
When someone chooses a password, it’s checked against lists of passwords exposed in known breaches. The password itself is never sent anywhere to do this. If someone keeps entering the wrong password, further attempts are slowed down and then blocked for a while (see Attack protection).
People who forget their password can reset it with a link or a code sent to their email address, or both. You can also ask them to complete their second step before they choose a new password. Sign-in flows explains how.
Passkeys
Section titled “Passkeys”A passkey lets someone sign in with their device’s face or fingerprint recognition, or its screen lock: Face ID, Touch ID, Windows Hello or Android. There’s no password to steal or be tricked out of, and a passkey counts as both steps of two-step verification on its own.
To offer passkeys, turn on Passkeys under Login methods. People can then add one from their account page. You can also turn on Suggest a passkey after sign-in, so that people who don’t have one yet are offered one after they sign in. Passkeys sync across a person’s devices through their phone or computer’s password manager.
If you’re building a mobile app, see Native apps and biometrics.
Sign-in links by email
Section titled “Sign-in links by email”People can sign in, or sign up, with a link sent to their email address instead of a password. You can also send a six-digit code alongside the link. A code helps when someone reads their email on a different device, because opening the link there would sign in that device instead. Turn this on with Passwordless (emailed link or code) under Login methods.
Usernames
Section titled “Usernames”Turn on Let users sign in with a username if you want people to be able to use a username as well as their email address. You can also decide whether people can change their username, set a maximum length, and block reserved names such as admin.
Asking for the email address first
Section titled “Asking for the email address first”With Ask for the email address first, the sign-in page asks for the email address on its own, and then for the password on the next page. This lets enterprise connections send people from a particular company straight to their company’s own sign-in.