Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pure PHP OAuth Provider

Is there some code out there (under BSD or similar license preferably) that implements provider support for OAuth without needing PECL OAuth extension? Zend Framework's Zend_Oauth is pretty good, but it is only the consumer side. So I wonder if there's something like that but for doing the other side (i.e. making OAuth server).

Note that I'm not looking for how to do that with pecl/oauth - this I already have, see for example, Set up a PHP OAuth Provider - but unfortunately not all people can install PECL extensions, so I'm looking for some solution that would reduce requirements.

like image 493
StasM Avatar asked Jul 21 '26 14:07

StasM


2 Answers

Have you taken a look at http://pear.php.net/package/HTTP_OAuth/?

like image 61
Patrick Cavanaugh Avatar answered Jul 24 '26 05:07

Patrick Cavanaugh


I've ended up making some implementation for Oauth provider for Zend Framework, which can be seen here: https://github.com/smalyshev/Zend_OAuth_Provider

I'll improve it if time permits but it works for me right now.

like image 44
StasM Avatar answered Jul 24 '26 05:07

StasM