Google login setup
Error 400 redirect_uri_mismatch means this exact URI is missing in Google Cloud → Credentials → your Web client → Authorized redirect URIs.
Also add: http://localhost:8000/v1/oauth/gmail/callback
Authorized JavaScript origins: http://localhost:3000 and http://localhost:8000