-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should you use private or public DSN? #58
Comments
Hi @steverandy, thanks for reporting this. You should be using the private DSN. Reporting only occurs from the node main process where only the private DSN will work. The public DSN only works in the browser SDK where some origin checking is performed to limit abuse. |
Hi @steverandy, sorry for the confusion. This actually has changed with the last release. Private DSNs will be completely deprecated for all SDKs and removed from Sentry in near future. You can, but don't have to use private DSNs after upgrading to the latest version. Note that this also requires hosted Sentry. On-premise installations will need to continue to use the private DSN until the next release. I will add a section on this to docs. |
https://docs.sentry.io/platforms/javascript/guides/vue/ still refers to |
@lsmith77 This is actually a typo in our docs and should render the actual DSN of your project. You can just use the regular DSN. See getsentry/sentry-docs#2982 |
Just saw the updated documentation on sentry website for electron integration.
Initally I thought that you must use private DSN. But in the new doc, the example uses public DSN.
Is it ok to use public DSN for main an renderer process? Is there any downside?
The text was updated successfully, but these errors were encountered: