daviddesberg / PHPoAuthLib

PHP 5.3+ oAuth 1/2 Client Library
Other
1.08k stars 455 forks source link

Stripe Connect #321

Open yespbs opened 10 years ago

yespbs commented 10 years ago

How to add new service i.e. Stripe Connect ? Oauth 2

https://connect.stripe.com/oauth

snipe commented 9 years ago

I'm interested in possibly developing an integration point with Stripe, but with 47 open PRs and failing tests, I'm not sure if it would get merged in. Is this library still accepting pull requests? Is there anything I can do to help?

yespbs commented 9 years ago

@snipe, I have forked the library and added stripe, but it was not added to master yet.

I have moved to php league which has better support for oauth2, you can simply use that, just create a provider in your own namespace

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

snipe commented 9 years ago

@yespbs Ah, thanks for letting me know. I was using this oauth library only because Cartalyst recommended it (I use Sentry and Sentry Social). I'll need to test to see what might break if I switch. (They actually recommended a specific revision number "lusitanian/oauth": "dev-master#b7e96d0c36f17aa8a217b6be897363bb2cc93286",, because it fixed something with the Twitter login.)

yespbs commented 9 years ago

Laravel 5 uses it, they install leage oauth1 by default, probably for socialite, they will download oauth2, I am yet to test that.

yespbs commented 9 years ago

sorry, here is laravel socialite http://laravel.com/docs/5.0/authentication#social-authentication

snipe commented 9 years ago

Yeah, we're not ready to upgrade to Laravel 5 yet tho :-/

cityzen commented 9 years ago

Hi, just to chime in since I had to deal with this myself. I ended up using artdarek/oauth-4-laravel as a basis for an OAuth wrapper in Laravel within my namespace. I added the ability to add new services locally or overwrite/extend the included services as well as ability to use local storage (database with eloquent and laravel sessions).

I'm working on making this available in a more modular/flexible package. Let me know if you're interested and I'll let you know when I get it up here.

daviddesberg commented 9 years ago

If you're still interested, I'll merge it if you have written it.

yespbs commented 9 years ago

yes sure

Regards,

Priyabrata Sarkar

Web Development & Solutions Consultant. Proprietor, Sologic Solutions

Company : [http://www.sologicsolutions.com] Portfolio: [http://www.yespbs.com] LinkedIn: [http://in.linkedin.com/in/yespbs http://in.linkedin.com/in/yespbs]

priyabrata.sarkar [skype] yespbs@gmail.com [GTalk & AIM] priyabrata.sarkar_73 [yahoo] priyabrata.sarkar@hotmail.com [MSN]

On Fri, Aug 7, 2015 at 2:12 PM, David Desberg notifications@github.com wrote:

If you're still interested, I'll merge it if you have written it.

— Reply to this email directly or view it on GitHub https://github.com/Lusitanian/PHPoAuthLib/issues/321#issuecomment-128642606 .