In this lesson we’ll enable user authentication (Amazon Cognito) in the existing AWS Amplify project, then use the withAuthenticator higher order component from AWS Amplify to quickly add a preconfigured sign up and sign in flow.
Hi, I know its cool using VI and everyone has his preference, but for learning purposes would be much better to use an IDE with semantic colors, it's much better to read than just white text. Anyway, quite cool and shorter, like I like. Thanks!
Why does a user have to come up with a username when signing up? You should be able to just enter your email address...
Hank, you can customize the form or make your own.
Gary, yes you can customize it to some extent, but for full control it's better to just use the Auth component & write the UI from scratch.
https://aws-amplify.github.io/docs/js/authentication
Hank, this is the way it's configured out of the box. You can have more control if you just use the Auth component without the HOC.
Any idea why my cognito user pool is empty?
You need to select your region, the site might have selected the wrong one.
[redacted, pls ignore]
Just ran this today and since aws-amplify-react@4.x.x, the Authenticator comes by default un-styled.
To include default styling so it appears as the video, add this line before Amplify.configure in your index.js
import '@aws-amplify/ui/dist/style.css';
this course is quite old and does not match with current changes in aws. Error while creating user