Wire a full authentication flow visually: sign-up and login endpoints that hash passwords, issue signed JWTs, and a guard that protects the rest of your API. Refresh tokens and expiry are handled with dedicated nodes.
What you will build
- Model the users table
- Hash passwords on sign-up
- Issue an access token and a refresh token on login
- Protect endpoints with an Auth guard node
- Rotate refresh tokens safely