You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create another Amplify application with imported User Pool:
amplify init
amplify import auth
a. Use User Pool only (no identiity pool)
Select the Amplify-generated User Pool and client ID from the previous steps.
amplify push -y
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
20
Amplify CLI Version
12.12.4
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
N/A
Describe the bug
When importing a Cognito User Pool that contains user attributes as email and phone number, the amplifyconfiguration.json file shows email only:
Expected behavior
Importing auth with email and phone username attributes should include both values in frontend config output.
Reproduction steps
Create Amplify-generated User Pool with user attributes.
Observe amplifyconfiguration.json as
Create another Amplify application with imported User Pool:
Observe amplifyconfiguration.json file
Specifically noting that one has aws_cognito_username_attributes as EMAIL and the other has it set as EMAIL, PHONE_NUMBER
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: