Skip to content

Commit

Permalink
feat: Clarify that org auth tokens should be used for bundler plugins (
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Sep 18, 2024
1 parent 0503b1a commit 93667e8
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ If you are on an older version and you want to upload source maps we recommend u

</Note>

To upload source maps you have to configure an auth token.
To upload source maps you have to configure an [Organization Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/).

Alternatively, you can also use a [User Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/account/api/auth-tokens/), with the "Project: Read & Write" and "Release: Admin" permissions.

Auth tokens can be passed to the plugin explicitly with the `authToken` option, with a `SENTRY_AUTH_TOKEN` environment variable, or with an `.env.sentry-build-plugin` file in the working directory when building your project.
We recommend you add the auth token to your CI/CD environment as an environment variable.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ If you are on an older version and you want to upload source maps we recommend u

</Note>

To upload source maps you have to configure an auth token.
To upload source maps you have to configure an [Organization Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/).

Alternatively, you can also use a [User Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/account/api/auth-tokens/), with the "Project: Read & Write" and "Release: Admin" permissions.

Auth tokens can be passed to the plugin explicitly with the `authToken` option, with a `SENTRY_AUTH_TOKEN` environment variable, or with an `.env.sentry-build-plugin` file in the working directory when building your project.
We recommend you add the auth token to your CI/CD environment as an environment variable.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ pnpm add @sentry/esbuild-plugin --save-dev

### Configure

To upload source maps you have to configure an auth token.
To upload source maps you have to configure an [Organization Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/).

Alternatively, you can also use a [User Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/account/api/auth-tokens/), with the "Project: Read & Write" and "Release: Admin" permissions.

Auth tokens can be passed to the plugin explicitly with the `authToken` option, with a `SENTRY_AUTH_TOKEN` environment variable, or with an `.env.sentry-build-plugin` file in the working directory when building your project.
We recommend you add the auth token to your CI/CD environment as an environment variable.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ pnpm add @sentry/rollup-plugin --save-dev

### Configuration

To upload source maps you have to configure an auth token.
To upload source maps you have to configure an [Organization Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/).

Alternatively, you can also use a [User Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/account/api/auth-tokens/), with the "Project: Read & Write" and "Release: Admin" permissions.

Auth tokens can be passed to the plugin explicitly with the `authToken` option, with a `SENTRY_AUTH_TOKEN` environment variable, or with an `.env.sentry-build-plugin` file in the working directory when building your project.
We recommend you add the auth token to your CI/CD environment as an environment variable.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ pnpm add @sentry/vite-plugin --save-dev

### Configuration

To upload source maps you have to configure an auth token.
To upload source maps you have to configure an [Organization Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/).

Alternatively, you can also use a [User Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/account/api/auth-tokens/), with the "Project: Read & Write" and "Release: Admin" permissions.

Auth tokens can be passed to the plugin explicitly with the `authToken` option, with a `SENTRY_AUTH_TOKEN` environment variable, or with an `.env.sentry-build-plugin` file in the working directory when building your project.
We recommend you add the auth token to your CI/CD environment as an environment variable.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ pnpm add @sentry/webpack-plugin --save-dev

### Configuration

To upload source maps you have to configure an auth token.
To upload source maps you have to configure an [Organization Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/).

Alternatively, you can also use a [User Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/account/api/auth-tokens/), with the "Project: Read & Write" and "Release: Admin" permissions.

Auth tokens can be passed to the plugin explicitly with the `authToken` option, with a `SENTRY_AUTH_TOKEN` environment variable, or with an `.env.sentry-build-plugin` file in the working directory when building your project.
We recommend you add the auth token to your CI/CD environment as an environment variable.

Expand Down
5 changes: 4 additions & 1 deletion platform-includes/sourcemaps/overview/javascript.svelte.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ yarn add @sentry/vite-plugin --dev
pnpm add @sentry/vite-plugin --save-dev
```

To upload source maps you have to configure an auth token.
To upload source maps you have to configure an [Organization Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/).

Alternatively, you can also use a [User Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/account/api/auth-tokens/), with the "Project: Read & Write" and "Release: Admin" permissions.

Auth tokens can be passed to the plugin explicitly with the `authToken` option, with a `SENTRY_AUTH_TOKEN` environment variable, or with a `.env.sentry-build-plugin` file in the working directory when building your project.
You likely want to add the auth token as an environment variable to your CI/CD environment.

Expand Down
5 changes: 4 additions & 1 deletion platform-includes/sourcemaps/overview/javascript.vue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ pnpm add @sentry/vite-plugin --save-dev

Learn more about configuring the plugin in our [Sentry Vite Plugin documentation](https://www.npmjs.com/package/@sentry/vite-plugin).

To upload source maps you have to configure an auth token.
To upload source maps you have to configure an [Organization Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/).

Alternatively, you can also use a [User Auth Token](https://sentry.io/orgredirect/organizations/:orgslug/settings/account/api/auth-tokens/), with the "Project: Read & Write" and "Release: Admin" permissions.

Auth tokens can be passed to the plugin explicitly with the `authToken` option, with a `SENTRY_AUTH_TOKEN` environment variable, or with a `.env.sentry-build-plugin` file in the working directory when building your project.
You likely want to add the auth token as an environment variable to your CI/CD environment.

Expand Down

0 comments on commit 93667e8

Please sign in to comment.