-
-
Notifications
You must be signed in to change notification settings - Fork 192
Cognito Amplify Authentication Setup Instructions
Navigate to Cognito
in AWS and click create Manage User Pools. Use whatever password settings are best for your organization.
Navigate to ... in AWS.
Create a new IAM role. Then review this role in IAM.
Create a bucket with public read permissions. In the "Permissions" tab, allow everyone to read and write objects to the S3 bucket.
Copy the CORs configuration from the Amplify docs.
Navigate to IAM panel by searching for the IAM service. You'll have a bunch of newly created Congito roles.
Google "Amplify Cognito S3 role", then hit getting started docs. Then you want to grab the policy under "Using Amazon S3".
Add the policy you copied with "Attach Policy" to the User Role. Make sure to replace the "example bucket name" with the name of your bucket.
Create the policy, give it a name like "UDTTestBucketRole".
Grab the "Unauth Role" from the Amplify docs, add this role to the "Unauth" user.
In Cognito page click "Create User", enter the username and password. Mark the account as verified. You'll then be prompted with Complete your Sign Up.