Skip to content

Commit

Permalink
docs: Point to org auth token page (#393)
Browse files Browse the repository at this point in the history
Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
  • Loading branch information
lforst and mydea authored Sep 4, 2023
1 parent 479be50 commit 1ebe561
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
3 changes: 1 addition & 2 deletions packages/bundler-plugin-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export interface Options {

/**
* The authentication token to use for all communication with Sentry.
* Can be obtained from https://sentry.io/settings/account/api/auth-tokens/.
* Required scopes: project:releases (and org:read if setCommits option is used).
* Can be obtained from https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/.
*
* This value can also be specified via the `SENTRY_AUTH_TOKEN` environment variable.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/dev-utils/src/generate-documentation-table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const options: OptionDocumentation[] = [
name: "authToken",
type: "string",
fullDescription:
"The authentication token to use for all communication with Sentry. Can be obtained from https://sentry.io/settings/account/api/auth-tokens/. Required scopes: project:releases (and org:read if setCommits option is used).\n\nThis value can also be specified via the `SENTRY_AUTH_TOKEN` environment variable.",
"The authentication token to use for all communication with Sentry. Can be obtained from https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/.\n\nThis value can also be specified via the `SENTRY_AUTH_TOKEN` environment variable.",
},
{
name: "url",
Expand Down
3 changes: 1 addition & 2 deletions packages/esbuild-plugin/README_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ require("esbuild").build({
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,

// Auth tokens can be obtained from https://sentry.io/settings/account/api/auth-tokens/
// and need `project:releases` and `org:read` scopes
// Auth tokens can be obtained from https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/
authToken: process.env.SENTRY_AUTH_TOKEN,
}),
],
Expand Down
3 changes: 1 addition & 2 deletions packages/rollup-plugin/README_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ export default {
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,

// Auth tokens can be obtained from https://sentry.io/settings/account/api/auth-tokens/
// and need `project:releases` and `org:read` scopes
// Auth tokens can be obtained from https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/
authToken: process.env.SENTRY_AUTH_TOKEN,
}),
],
Expand Down
3 changes: 1 addition & 2 deletions packages/vite-plugin/README_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ export default defineConfig({
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,

// Auth tokens can be obtained from https://sentry.io/settings/account/api/auth-tokens/
// and need `project:releases` and `org:read` scopes
// Auth tokens can be obtained from https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/
authToken: process.env.SENTRY_AUTH_TOKEN,
}),
],
Expand Down
3 changes: 1 addition & 2 deletions packages/webpack-plugin/README_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ module.exports = {
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,

// Auth tokens can be obtained from https://sentry.io/settings/account/api/auth-tokens/
// and need `project:releases` and `org:read` scopes
// Auth tokens can be obtained from https://sentry.io/orgredirect/organizations/:orgslug/settings/auth-tokens/
authToken: process.env.SENTRY_AUTH_TOKEN,
}),
],
Expand Down

0 comments on commit 1ebe561

Please sign in to comment.