There's more...
We have discussed passing an email as a user attribute. You can also pass any of the other built-in user attributes, such as name, given_name, family_name, middle_name, nick_name, preferred_username, profile, picture, website, email, email_verified, gender, birthdate, zoneinfo, locale, phone_number, phone_number_verified, address, and updated_at. You can also define a custom attribute.
We only discussed email verification in this recipe. You can add phone verification by adding it to the AutoVerifiedAttributes list. We also did user sign-up with a text username. We could have also used an email or phone_number as usernames. In a later recipe, we will create a user pool to support SMS and MFA verification, and to support user ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access