feat: add Google Sign-In to login and register pages
- Add GoogleOAuthProvider wrapper in layout.tsx - Add Google login button to LoginForm with "or continue with email" separator - Add Google signup button to RegisterForm - Add Google auth types and API client integration - Add GOOGLE_CLIENT_ID and NEXT_PUBLIC_GOOGLE_CLIENT_ID to env config - Add translations (EN/FR) for Google OAuth UI - Backend already has /api/v1/auth/google endpoint, no changes needed Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -71,7 +71,7 @@ services:
|
||||
container_name: wordly-backend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8001:8000"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
@@ -104,6 +104,7 @@ services:
|
||||
- STRIPE_STARTER_PRICE_ID=${STRIPE_STARTER_PRICE_ID:-}
|
||||
- STRIPE_PRO_PRICE_ID=${STRIPE_PRO_PRICE_ID:-}
|
||||
- STRIPE_BUSINESS_PRICE_ID=${STRIPE_BUSINESS_PRICE_ID:-}
|
||||
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID:-}
|
||||
volumes:
|
||||
- uploads_data:/app/uploads
|
||||
- outputs_data:/app/outputs
|
||||
@@ -146,7 +147,7 @@ services:
|
||||
- .env
|
||||
environment:
|
||||
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-https://wordly.art}
|
||||
networks:
|
||||
- NEXT_PUBLIC_GOOGLE_CLIENT_ID=${NEXT_PUBLIC_GOOGLE_CLIENT_ID:-}
|
||||
- wordly-network
|
||||
depends_on:
|
||||
backend:
|
||||
|
||||
Reference in New Issue
Block a user