Loading...
Let users sign in with Google in a few steps. This is optional; email/password and magic links work without it.
Add the callback URL for each environment. Locally:
http://localhost:4000/api/v1/auth/google/callback
For production, add the same path on your API domain, for example:
https://api.yourdomain.com/api/v1/auth/google/callback
In server/.env:
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
GOOGLE_REDIRECT_URI=http://localhost:4000/api/v1/auth/google/callback
Set GOOGLE_REDIRECT_URI to match the environment you are running.
/login and choose Continue with Google.ADMIN_2FA_ENFORCED notes when locking down the admin surface.Open a support ticket if the callback errors (often a redirect URI mismatch).
Sign in to leave feedback on this article.