Okay, file and folder structure are relatively organized now and sign-up, sign-in and sign-out flows are working as expected.
Still some key items left to finish
[x] Test MFA functionality
[x] Read in Name field for the user instead of "email" or "Google username"
[x] Write user information and IDs to postgres database for user management (ie. card permissions, notification preferences, etc.). Changed this to write the user's email and name to the postgres DB as we only need one unique identifier (ie. email is sufficient)
Objective:
Implement user authentication in the Next.js application using Amazon Cognito to secure user access and provide login/signup functionality.
Prerequisites:
Tasks:
Configure Amplify in the Next.js application
Implement user registration (dependent on #217 )
Auth.signUp
method to register usersImplement user confirmation
Auth.confirmSignUp
method to confirm user registrationImplement user login
Auth.signIn
method to authenticate usersImplement user logout
Auth.signOut
method to log out usersSecure protected routes