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

Symfony2 Examples ? #151

Closed
cpjolly opened this issue Jun 8, 2013 · 5 comments
Closed

Symfony2 Examples ? #151

cpjolly opened this issue Jun 8, 2013 · 5 comments

Comments

@cpjolly
Copy link

cpjolly commented Jun 8, 2013

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

@bshaffer
Copy link
Owner

bshaffer commented Jun 9, 2013

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 [email protected] 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:
#151

@bshaffer
Copy link
Owner

bshaffer commented Jun 9, 2013

Whoops, the URL is:

https://github.com/bshaffer/oauth2-server-httpfoundation-bridge


Brent Shaffer

On Sat, Jun 8, 2013 at 9:56 AM, cpjolly [email protected] 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:
#151

@cpjolly
Copy link
Author

cpjolly commented Jun 12, 2013

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

@cpjolly
Copy link
Author

cpjolly commented Jun 15, 2013

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

@bshaffer
Copy link
Owner

This issue has been moved here: bshaffer/oauth2-server-bundle#2

Please stay current with the Symfony2 Cookbook Example for a walkthrough here.

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

2 participants