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

What about using guzzlehttp/oauth-subscriber ? #88

Closed
mrjoops opened this issue Jul 10, 2017 · 5 comments
Closed

What about using guzzlehttp/oauth-subscriber ? #88

mrjoops opened this issue Jul 10, 2017 · 5 comments

Comments

@mrjoops
Copy link

mrjoops commented Jul 10, 2017

Hi,

I'm starting to contribute to your project, writing a JIRA provider; so I was looking at the code when I noticed a few things.
You are using Guzzle as the HTTP client but you don't use its Oauth1 subscriber implementation, is there a particular reason for that ?
I think it would be interesting to use it since it take care of all the headers and signatures stuff, and it will dramatically reduce your codebase.

I would have written a PR if that was not such a big change. Of course I could if you're interested.

Good job by the way, your library is way more easy to implement than Atlassian own JIRA examples I tried.

@bencorlett
Copy link
Member

bencorlett commented Jul 10, 2017 via email

@stevenmaguire
Copy link
Member

I am a fan. Especially if it will help to get this project up to the next major version and more in line with the look and feel of the oauth2-client.

@stevenmaguire
Copy link
Member

A ton of work went into #35 to get this project moving.

@mrjoops
Copy link
Author

mrjoops commented Jul 13, 2017

So, what's next ?

@bencorlett
Copy link
Member

So the Guzzle OAuth subscriber works well if you have token credentials. Having said that, it's not entirely OAuth spec compliant (although it works for most use cases). I've addressed its shortcomings in the description of #111.

Having said that, I have a decision to make - whether we add our own Guzzle OAuth subscriber for authenticated requests or we stay agnostic and just recommend the use of that if you choose to use Guzzle in our new version (that's right, we don't require the use of Guzzle at all moving forward).

@mfn mfn mentioned this issue Sep 3, 2020
5 tasks
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

No branches or pull requests

3 participants