You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempt to use generated authToken in CI/CD for e.g. generating sourcemap uploads and releases
Observe Sentry returns a 401 when attempting to use generated authToken for releases (sourcemaps upload is successful)
This might be intentional, because on the docs, the specified use case for the generated authToken is for sourcemaps upload. However, the Nuxt Sentry SDK attempted to automatically create a release during CI/CD build (without any further configuration from me) and this authToken did not have the permissions to send a POST request to POST https://sentry.io/api/0/projects/the-claw/pantherworld/releases/.
When generating an authToken via the Sentry app for the same organisation and project, this authToken had permissions for both sourcemap uploads AND posting a new release.
Expected Result
authTokens generated on the docs pages have the correct permissions required for releases as well as sourcemap uploads.
It looks like what happened is that I double clicked to copy the token, which didn't select the whole token.
I wonder how many other people have experienced this, so I wonder if there is a way to make this more obvious. Maybe we wrap the code in the code block so it's more obvious, it's also better for accessibility.
Yeah wrapping the code block could make this more clear 👍 Not sure about the internals on how this token gets parsed and why sourcemap upload worked though
Steps to Reproduce
authToken
via docs page (e.g. https://docs.sentry.io/platforms/javascript/guides/nuxt/manual-setup/#source-maps-upload)authToken
in CI/CD for e.g. generating sourcemap uploads and releasesauthToken
for releases (sourcemaps upload is successful)This might be intentional, because on the docs, the specified use case for the generated
authToken
is for sourcemaps upload. However, the Nuxt Sentry SDK attempted to automatically create a release during CI/CD build (without any further configuration from me) and thisauthToken
did not have the permissions to send a POST request toPOST https://sentry.io/api/0/projects/the-claw/pantherworld/releases/
.When generating an
authToken
via the Sentry app for the same organisation and project, thisauthToken
had permissions for both sourcemap uploads AND posting a new release.Expected Result
authTokens
generated on the docs pages have the correct permissions required for releases as well as sourcemap uploads.Actual Result
Additional Info
No response
The text was updated successfully, but these errors were encountered: