Skip to content
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

fix: Make URL in org auth tokens optional #1766

Merged
merged 1 commit into from Oct 2, 2023

Conversation

loewenheim
Copy link
Contributor

@loewenheim loewenheim commented Oct 2, 2023

This makes the URL field of org auth tokens optional. Local and self-hosted Sentry instances don't return a URL within their tokens sometimes. In such cases, the URL now needs to be set via one of the other ways (CLI option, env var, config file). It is still an error to pass different URLs via the token and another method.

Fixes #1763, #1765.

@loewenheim loewenheim self-assigned this Oct 2, 2023
@loewenheim loewenheim merged commit 079ccc1 into master Oct 2, 2023
16 checks passed
@loewenheim loewenheim deleted the fix/org-token-optional-url branch October 2, 2023 15:01
@lforst
Copy link
Member

lforst commented Oct 4, 2023

<3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sentry CLI could use --url argument when org auth token has url: null
3 participants