php-http / message

HTTP Message related tools
http://php-http.org
MIT License
1.3k stars 42 forks source link

Oauth 2 authentication plugin #97

Closed mxr576 closed 4 years ago

mxr576 commented 6 years ago

Is there any plan for adding an Oauth 2 authentication plugin to this library? I saw you could not convince thephpleague/oauth2-client to move away from Guzzle.

https://github.com/thephpleague/oauth2-client/pull/538

mxr576 commented 6 years ago

I only found this plugin, but this is for Oauth 1 https://github.com/xabbuh/oauth1-authentication

joelwurtz commented 6 years ago

Personally i would prefer have this as a separate library.

Nyholm commented 6 years ago

I think it would be great to have an oauth2 plugin. But it should be in a package named php-http/oauth2-plugin.

mxr576 commented 6 years ago

No doubt, +1 for having this implemented in a separate library, but is there a concrete plan for this?

joelwurtz commented 6 years ago

Not really, if you want to do it feel free and ping us on that repo (here or in slack), don't mind having this in php-http with you as maintainer (if you want of course)

dbu commented 4 years ago

to summarize: oauth2 has too much external dependency to be part of the message package. we are open for a oauth2 plugin in the php-http organization if somebody volunteers to maintain it.