Home:ALL Converter>Customize Android UI sign-up fields

Customize Android UI sign-up fields

Ask Time:2018-06-08T21:54:28         Author:stianste

Json Formatter

We just started using AWS mobile hub and used Cognito for user sign in, with the default authentication UI. However, we have other fields that are required in our user pool, such as gender and date of birth, which is not reflected in the Sign-Up UI. This results in the fact that we are not able to log in, since we are not able to provide these attributes when signing up, as they are not part of the UI.

At the moment the sign up UI has username, password, given name, email address and phone number as the fields, even though only password, email and username are required in our user pool. How can we customize the fields shown to the user, including removing the non-required ones, as well as adding gender, date of birth etc?

We have spent hours googling this to no avail, so we really really hope someone can help us with this issue. We have found multiple ways to customize the css and look of the UI, but no way to actually alter the fields.

Thanks in advance.

Author:stianste,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50762233/customize-android-ui-sign-up-fields
yy