Skip to content

Support custom headers #308

Closed
Closed

Description

@idolize

We are trying to authenticate with a self-hosted Sentry instance behind a custom proxy server that uses a different header for additional authentication.

We could easily support this scenario if the sentry-cli allowed us to specify additional custom headers in the requests, but right now there does not seem to be any config option to do so.

Would it be possible to add such an option for additional headers? Thank you!

Activity

  1. mitsuhiko commented on Sep 28, 2018

    @mitsuhiko
    Contributor

    @idolize is this a proxy header or a header in the normal api request?

  2. idolize commented on Sep 28, 2018

    @idolize
    Author

    Just a normal header in the API request. Unfortunately the system we are using right now does not allow for a lot of customization on this front, so we would need the client to attach a specific header to it's requests.

  3. worenga commented on Aug 12, 2020

    @worenga

    we have the same issue using cloudflare access, can we have an option of adding extra headers?

  4. kamilogorek commented on Aug 26, 2020

    @kamilogorek
    Contributor

    This thread is about sentry-cli, not @sentry/node\browser package 😅

  5. mashail commented on May 20, 2021

    @mashail

    We have the same issue too. We need it as we are using cloudflare access

  6. mathew-cf commented on Mar 11, 2022

    @mathew-cf

    Just wanted to articulate here that #970 unfortunately does not allow use of Cloudflare Access since it requires two custom headers, not just one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions