patelvivekdev / AuthJs-Template

A template repo for starting authentication in your upcoming Next.js application. Used Drizzle, Auth.js(Next-Auth), Turso.
https://authjs-template.patelvivek.dev
MIT License
21 stars 0 forks source link

Update for Next 15 #6

Closed patelvivekdev closed 3 months ago

codesandbox[bot] commented 3 months ago

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drizzle-next-auth-turso 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jun 12, 2024 7:30am
gitguardian[bot] commented 3 months ago

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [11379094](https://dashboard.gitguardian.com/workspace/99741/incidents/11379094?occurrence=139621017) | Triggered | GitHub Access Token | f6b8143f70162dee639d7b806314fdd4399a0948 | account.json | [View secret](https://github.com/patelvivekdev/drizzle-next-auth-turso/commit/f6b8143f70162dee639d7b806314fdd4399a0948#diff-58034e9b1b768da7a2e7f550bd042205b1ece50d586a03ccfe41c86fde5eb5dcR2) | | [11379094](https://dashboard.gitguardian.com/workspace/99741/incidents/11379094?occurrence=139621018) | Triggered | GitHub Access Token | 03ea37243c0078f6b07a7985037f33375d832df5 | account.json | [View secret](https://github.com/patelvivekdev/drizzle-next-auth-turso/commit/03ea37243c0078f6b07a7985037f33375d832df5#diff-58034e9b1b768da7a2e7f550bd042205b1ece50d586a03ccfe41c86fde5eb5dcL2) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code. 2. Replace and store your secrets safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate these secrets](https://docs.gitguardian.com/secrets-detection/secrets-detection-engine/detectors/specifics/github_oauth_access_token_v2#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data. To avoid such incidents in the future consider - following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.

🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.