RecursiveThinking / recursive_thinking_website

Recursive Thinking Website
5 stars 2 forks source link

Create Sign In Flow #29

Closed amnevins closed 6 years ago

amnevins commented 6 years ago

Customer should be able to click sign in and submit their information to authenticate.

  1. Click Sign In on Home Page.
  2. Form appears with username and password fields
  3. Submit the form and call signIn method in Auth.js
  4. Route the user to the dashboard.
amnevins commented 6 years ago

2 things important to think about: Validation ~ via good html input types Cognito has a built in validator I already configured so at least inputs are length minimums of 1 for everything and maximums that vary and there all strings. Error Alerts - Customers should see a good error below the input or at the top of modal if they mess up the required field somehow.