Hey everyone! I’m working on a project with a Rust backend API and Vue3 frontend, both running on AWS. The backend runs in Docker containers and connects to a MySQL RDS instance.
I’m pretty new to AWS and trying to figure out the easiest way to handle user login and registration. I keep reading about Cognito but also see people mentioning Amplify everywhere. The Amplify stuff looks really complex and I can’t use the CLI tools anyway.
Should I just build my own auth system with login/signup endpoints that talk directly between Vue, Rust, and MySQL? The downside is I’d need to handle email verification myself.
Or is there a straightforward way to use just the Cognito SDK with Vue to get auth tokens, then verify those tokens on the Rust backend for protected routes? What would be the quickest approach for someone without much AWS experience?