Reputation: 949
I have been trying to hook up my iOS app to my AWS Backend via Cognito. I am a bit confused because I choose certain attributes that are required for sign-ups such as Birthdate
and Name
. Although once I followed directions to use the AWSAuthUI
here. The default UI appears as shown here:
and then when one tries to sign up this error message comes up:
which makes sense because the user did not input the other required fields as established by my User Pool, but how can I give the user the opportunity to submit their birthday if I'm using the AWSAuthUI
Upvotes: 0
Views: 169
Reputation: 949
As per a comment, I'd like to answer my own question. It doesn't seem like there are any changes you can make to the AWSAuthUI
other than small cosmetic changes. The best bet is to set up the UI yourself. The AWS team has set up a GitHub project that has an example of setting it up here. The relevant heading for Cognito User Pools is under, CognitoYourUserPools-Sample
. They have options in both Swift and Objective-C.
Upvotes: 1