Cognito Implemntation
Description
Frontend URL: https://main.d1msjh4sev72n9.amplifyapp.com/
The current situation is as follows:
-
There is a Firebase controller in the project that isn't connected to anything. It should be removed after a thorough check confirms it is unconnected.
-
MongoDB currently handles all user data and identity data. This is a not secure enough; MongoDB should only handle data, while Cognito should manage the login and registration processes.
-
There is some missing logic with Cognito and Google authentication. After a successful login, Cognito sends a code to the backend. This code should be converted into a token in the backend and then returned to the front end with all the necessary data after integration with the database.
-
For the SNS service, all Gmail validation should be handled through Cognito and AWS SNS.