Hi, email shows as required even though I didn't select it during the amplify add auth flow. More context: no MFA/no required attributes.
@kennandavison Which flow did you go through for amplify add auth
- did you go with the default configurations from the CLI?
manual configuration
What was your selection for this response? The email attribute in Cognito was set based on your response for this question in the manual configuration flow.
What attributes are required for signing up? (Press
❯◯ Address (This attribute is not supported by Facebook, Google, Login With Amazon.)
◯ Birthdate (This attribute is not supported by Login With Amazon.)
◉ Email
◯ Family Name (This attribute is not supported by Login With Amazon.)
◯ Middle Name (This attribute is not supported by Google, Login With Amazon.)
◯ Gender (This attribute is not supported by Login With Amazon.)
◯ Locale (This attribute is not supported by Facebook, Google.)
Yeah, specifically unchecked that and tried a few times
Got it. Yes, I was able to reproduce the issue. The following block always exists in the CloudFormation template by default which shouldn't be present if you unselect email in the sign-up attributes question. I'll take that back to me team. cc @edwardfoyle
Schema:
-
Name: email
Required: true
Mutable: true
Any updates on this or suggestions for how to get around it?
Experiencing same issue here :(
Most helpful comment
Got it. Yes, I was able to reproduce the issue. The following block always exists in the CloudFormation template by default which shouldn't be present if you unselect email in the sign-up attributes question. I'll take that back to me team. cc @edwardfoyle