Skip to content

Remove client_secret.json and add to .gitignore#103

Merged
nv78 merged 1 commit intomainfrom
remove-client-secret
Mar 24, 2026
Merged

Remove client_secret.json and add to .gitignore#103
nv78 merged 1 commit intomainfrom
remove-client-secret

Conversation

@nv78
Copy link
Member

@nv78 nv78 commented Mar 24, 2026

Security Fix 🔐

backend/client_secret.json (Google OAuth credentials) was committed to the repository, exposing the client_secret.

Changes

  • Untrack backend/client_secret.json via git rm --cached
  • Add backend/client_secret.json and backend/client_secret*.json to .gitignore

⚠️ Action Required

The exposed secret is still in git history. You must:

  1. Go to Google Cloud Console → APIs & Services → Credentials
  2. Find the OAuth 2.0 client and regenerate the client secret
  3. Update backend/.env with the new secret
  4. If needed, use git filter-repo or BFG to scrub the file from history

🤖 Generated with Claude Code

The Google OAuth client_secret.json was committed to the repo,
exposing the client_secret. Added to .gitignore to prevent future
accidental commits.

ACTION REQUIRED: Rotate the Google OAuth client secret immediately
in the Google Cloud Console — the old one is in git history.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nv78 nv78 merged commit 0fe368e into main Mar 24, 2026
4 checks passed
@nv78 nv78 deleted the remove-client-secret branch March 24, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant