Skip to content

Use Sentry in frontend without exposing secret client key #7295

Closed Answered by pkruithof
pkruithof asked this question in Q&A
Discussion options

You must be logged in to vote

Our setup is a Symfony backend with a vanilla-js, user faced frontend (well it uses Stimulus but that's about it). I asked around our organization and other teams did the 2-project setup like you mentioned. This seems a bit weird though since you have to setup and manage separate projects, and it gets harder to correlate certain events (maybe some backend change triggers issues in the frontend). So I'd rather have the single-project setup.

While I don't think it's a security risk per se (although I'm not sure if you can read data with the client key?), and it's mainly an inconvenience should this key get used by others for spamming, all security-related experience/knowledge I have dictate…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@smeubank
Comment options

@smeubank
Comment options

@pkruithof
Comment options

Answer selected by smeubank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants