Repository navigation
Remove Clerk secret key from frontend env template - #64
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Closed
rajputdivyanshu81
marked this pull request as ready for review
July 13, 2026 05:11
Copilot
AI
changed the title
[WIP] Fix visibility of CLERK_SECRET_KEY
Remove Clerk secret key from frontend env template
Jul 13, 2026
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Pull request overview
This PR hardens secret management by removing CLERK_SECRET_KEY from the frontend environment template to reduce the risk of backend secrets being mistakenly configured (and potentially exposed) in a frontend context.
Changes:
- Removed
CLERK_SECRET_KEY=...fromapps/excelidraw-frontend/.env.example. - Added an explicit inline note indicating
CLERK_SECRET_KEYmust be configured only in backend services (http-backend/ws-backend).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The issue was a secret-management risk:
CLERK_SECRET_KEYappeared in a frontend.env.example, which can mislead deployments into storing backend secrets in a broader-visibility context. This change removes that unsafe pattern and clarifies backend-only placement.What changed
apps/excelidraw-frontend/.env.exampleto removeCLERK_SECRET_KEY=....CLERK_SECRET_KEYmust be configured only in backend services (http-backend/ws-backend).Why this matters