Closed Turbo87 closed 7 years ago
@dschmidt any comments?
+1
I was using request before but @duizendnegen ported my code to use form-data directly (https://github.com/dschmidt/ember-cli-deploy-sentry/pull/6) ... I'm a bit clueless here, what to do :\
Uhh what kind of errors were you getting @Turbo87 when authenticating against Sentry? (is this because of their new auth?)
@duizendnegen yes, it seems that formData.submit()
only supports HTTP Basic Auth, but not using Bearer tokens like sentry.io is essentially requiring now. I didn't know that it was using request
directly before. IMHO we should try to fix request though instead using two different form of making authenticated HTTP requests. did you try to debug your original issue or extract a reproduction?
Just to chime in: @Turbo87's resolved the issue for us. One semi-related thing is that the sentryApiKey
is required in the validation step even if sentryBearerApiKey
is set!
Then let's go - I need to make the transition to Bearer anyway, and I'm not deploying with Windows anymore.
@duizendnegen So ... merge this? I thought you were going to take care of this, I think you have write access to this repo :D
Feel free to merge, I don't have write access :)
Thanks a lot
@duizendnegen invited you as collaborator :)
This PR is fixing some issues when authenticating against sentry.io via bearer token.