Closed cpjolly closed 11 years ago
Good question! I have implemented a bridge library for HttpFoundation here:
Https://GitHub.com/bshaffer/oauth2-httpfoundation-bridge
This details a Silex integration, so Symfony2 would be similar. I would love to write a bundle for this, and will definitely try to do so now that I know there is a need for it. The FOS bundle seemed popular enough that it wasn't worth my time.
— Brent Shaffer
On Sat, Jun 8, 2013 at 9:56 AM, cpjolly notifications@github.com wrote:
Hi there, I see the mention of Symfony2 in the Cookbook/Examples issue, and I just wondered if there are any examples out there of using this library with Symfony2. I've built a couple of applications using the following server-side and client side bundles as a starting point for OAuth2 for authorization and data access, but am not that happy with the results. https://github.com/FriendsOfSymfony/FOSOAuthServerBundle https://github.com/hwi/HWIOAuthBundle Thanks
Chris Jolly
Reply to this email directly or view it on GitHub: https://github.com/bshaffer/oauth2-server-php/issues/151
Whoops, the URL is:
https://github.com/bshaffer/oauth2-server-httpfoundation-bridge
— Brent Shaffer
On Sat, Jun 8, 2013 at 9:56 AM, cpjolly notifications@github.com wrote:
Hi there, I see the mention of Symfony2 in the Cookbook/Examples issue, and I just wondered if there are any examples out there of using this library with Symfony2. I've built a couple of applications using the following server-side and client side bundles as a starting point for OAuth2 for authorization and data access, but am not that happy with the results. https://github.com/FriendsOfSymfony/FOSOAuthServerBundle https://github.com/hwi/HWIOAuthBundle Thanks
Chris Jolly
Reply to this email directly or view it on GitHub: https://github.com/bshaffer/oauth2-server-php/issues/151
Thanks for the info. One of the problems with FOSOAuthServerBundle is that it relies on
https://github.com/FriendsOfSymfony/oauth2-php
Which is based on the old pre-standard Google oauth2 php library. The oauth2-php bundle has not been updated in line with the later revisions of the standard.
It all works fine for simple use-cases, but IMHO it's not a solid platform for going forward. I've done quite a bit of work extending it for my requirements. Perhaps I'm alone in using OAuth2 for a wide variety of authorization scenarios, but I'd much prefer to develop against a well supported library like yours.
Thanks again - Chris Jolly
Hi again Brent - I thought you might be interested in this blog post from Fabien Potencier, which talks about some simplifications being made in the security component of Symfony 2.4 to allow easier extension.
http://symfony.com/blog/new-in-symfony-2-4-customize-the-security-features-with-ease
This issue has been moved here: https://github.com/bshaffer/oauth2-server-bundle/issues/2
Please stay current with the Symfony2 Cookbook Example for a walkthrough here.
Hi there,
I see the mention of Symfony2 in the Cookbook/Examples issue, and I just wondered if there are any examples out there of using this library with Symfony2. I've built a couple of Symfony2 applications that use the following server-side and client side bundles as a starting point for OAuth2 for authorization and data access, but am not that happy with the results, so was considering using this library for our future Symfony2 work.
https://github.com/FriendsOfSymfony/FOSOAuthServerBundle https://github.com/hwi/HWIOAuthBundle
Thanks
Chris Jolly