Skip to content

Prefer --url over empty Org Auth Token url #1913

Closed

Description

@szokeasaurusrex

If an Org Auth Token's payload defines an empty but not null url, then we should prefer the url provided as a command line argument via --url. The current behavior is to raise an error that the two urls don't match, which makes little sense, given that an empty url in the org Auth Token likely indicates a misconfigured Sentry self-hosted instance, and most users would expect the --url to take precedence.

With this change, we would prevent situations like the following: getsentry/sentry-javascript-bundler-plugins#465

Activity

  1. added a commit that references this issue on Jan 24, 2024
    aa29477
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Bug

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions