mitlist/be/app
google-labs-jules[bot] 8034824c97 Fix: Resolve Google OAuth redirection issue
This commit addresses an issue where you, when clicking the "Continue with Google"
button, were redirected back to the login page instead of to Google's
authentication page.

The following changes were made:

1.  **Frontend Redirect:**
    *   Modified `fe/src/components/SocialLoginButtons.vue` to make the "Continue with Google" button redirect to the correct backend API endpoint (`/auth/google/login`) using the configured `API_BASE_URL`.

2.  **Backend Route Confirmation:**
    *   Verified that the backend OAuth routes in `be/app/api/auth/oauth.py` are correctly included in `be/app/main.py` under the `/auth` prefix, making them accessible.

3.  **OAuth Credentials Configuration:**
    *   Added `GOOGLE_CLIENT_ID` and `GOOGLE_CLIENT_SECRET` placeholders to `env.production.template` to guide you in setting up your OAuth credentials.
    *   Added instructional comments in `be/app/config.py` regarding the necessity of these environment variables and the correct configuration of `GOOGLE_REDIRECT_URI`.

With these changes, and assuming the necessary Google Cloud OAuth credentials
(Client ID, Client Secret) and redirect URIs are correctly configured in the
environment, the Google OAuth flow should now function as expected.
2025-06-02 00:19:26 +02:00
..
api feat: Implement refresh token functionality in authentication flow 2025-05-25 12:51:02 +02:00
core Refactor: Polish backend based on review 2025-06-01 14:26:36 +02:00
crud feat: Add comprehensive notes and tasks for project stabilization and enhancements 2025-05-24 21:36:57 +02:00
db feat: Add Recurrence Pattern and Update Expense Schema 2025-05-23 21:01:49 +02:00
jobs feat: Add Recurrence Pattern and Update Expense Schema 2025-05-23 21:01:49 +02:00
models Refactor: Reset Alembic migrations and consolidate models. 2025-06-01 14:26:37 +02:00
schemas feat: Add Recurrence Pattern and Update Expense Schema 2025-05-23 21:01:49 +02:00
__init__.py weeee💃 2025-03-30 16:02:49 +02:00
auth.py feat: Implement refresh token functionality in authentication flow 2025-05-25 12:51:02 +02:00
config.py Fix: Resolve Google OAuth redirection issue 2025-06-02 00:19:26 +02:00
database.py feat: Add comprehensive notes and tasks for project stabilization and enhancements 2025-05-24 21:36:57 +02:00
main.py Update OAuth redirect URIs and API routing structure 2025-06-01 22:43:02 +02:00
models.py Refactor: Reset Alembic migrations and consolidate models. 2025-06-01 14:26:37 +02:00