How to handle authentication in nextJS app with AWS Amplify
Hello everyone. I'm creating a new app and I'm trying to figure ou what would be the best way to handle user authentication.
The user signs up with an email and a password, they then get a verification email in their inbox (that's all handled by AWS Amplify).
I have a few questions like:
1. Where do I store the user ? Should I use an AuthProvider ?
2. What about letting the server know that the frontend is authorised ? Should I use a middleware ?
0 Replies