Which programming language are you using? And what are you using to build your front end website?
Cognito has a lot of flexibility so it would be difficult to answer this. AWS Amplify might be a good solution for you here. It allows you to host your own UI, but does a lot of the work for you.
Thanks a lot… I will read it and implement as defined in this document.
Another question, based on your experience, what is a good / best way to do user authentication? Is it using cognito user poll or implement a DynamoDB table with users credentials ?
Cognito is difficult to learn but i think it’s worth it. There are many things to think about with auth:
unique usernames
password strength / complexity
account validation email / sms
account lockout after a number of failed attempts
password reset
multi factor auth
It would be REALLY difficult to to recreate all of this, and then you have to be responsible for making sure that it’s really secure. I prefer AWS to do that for me!
And they give you 50,000 monthly active users for free, which is also great.
Serverless Framework also works well with auth0 which seems more popular than cognito. but I haven’t used this myself. Might be worth checking out if you don’t like Cognito.