Skip to content

JS getting started/quick start guide: update recommended auth token usage for source maps #13896

Open
@inventarSarah

Description

@inventarSarah

SDK

JavaScript SDK

Description

In the following JavaScript SDKs, the auth token needed for source maps upload is stored directly in the project's config files (and similar):

  • Nuxt
  • React Router Framework
  • SolidStart

Example:

Image

While we always advise that the user should never commit the authentication token since it's a secret, we should also demonstrate best practice by storing the auth token in an environment variable.

Example:

Image

Suggested Solution

  • Update the getting started/quick start guides for the listed SDKs.
  • Update the wording in the Next.js quick start guide so that it is clear that storing the auth token in an environment variable is strongly recommended

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions