Initial commit - Current state of vip-coordinator

This commit is contained in:
2026-01-24 09:30:26 +01:00
commit aa900505b9
96 changed files with 31868 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
# Quick Google OAuth Setup Guide
## Step 1: Get Your Google OAuth Credentials
1. Go to [Google Cloud Console](https://console.cloud.google.com/)
2. Create a new project or select an existing one
3. Enable the Google+ API (or Google Identity API)
4. Go to "Credentials" → "Create Credentials" → "OAuth 2.0 Client IDs"
5. Set Application type to "Web application"
6. Add these Authorized redirect URIs:
- `http://localhost:5173/auth/google/callback`
- `http://bsa.madeamess.online:5173/auth/google/callback`
## Step 2: Update Your .env File
Replace these lines in `/home/kyle/Desktop/vip-coordinator/backend/.env`:
```bash
# REPLACE THESE TWO LINES:
GOOGLE_CLIENT_ID=your-google-client-id-from-console
GOOGLE_CLIENT_SECRET=your-google-client-secret-from-console
# WITH YOUR ACTUAL VALUES:
GOOGLE_CLIENT_ID=123456789-abcdefghijklmnop.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=GOCSPX-your_actual_secret_here
```
## Step 3: Restart the Backend
After updating the .env file, restart the backend container:
```bash
cd /home/kyle/Desktop/vip-coordinator
docker-compose -f docker-compose.dev.yml restart backend
```
## Step 4: Test the Login
Visit: http://bsa.madeamess.online:5173 and click "Sign in with Google"
(The frontend proxies /auth requests to the backend automatically)
## Bypass Option (Temporary)
If you want to skip Google OAuth for now, visit:
http://bsa.madeamess.online:5173/admin-bypass
This will take you directly to the admin dashboard without authentication.
(The frontend will proxy this request to the backend)