Amplify-cli: Email added as required in userpool even when not selected in amplify add auth prompt

Created on 23 Oct 2020  ·  7Comments  ·  Source: aws-amplify/amplify-cli

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.

auth bug

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

     Schema: 
        -
          Name: email
          Required: true
          Mutable: true

All 7 comments

@kennandavison Which flow did you go through for amplify add auth - did you go with the default configurations from the CLI?

manual configuration

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 :(

Was this page helpful?
0 / 5 - 0 ratings