Opauth strategy for Facebook authentication.
Implemented based on https://www.x.com/developers/paypal/documentation-tools/quick-start-guides/oauth-integration-paypal-access-getting
-
Install Opauth-Paypal:
cd path_to_opauth/Strategy git clone https://github.com/24hours/opauth-paypal.git PayPal
-
Create Paypal application at https://devportal.x.com/
- Select [Paypal Access] on API Scope
- Select [OAuth 2.0 / Open Id Connect] on Protocols
- set the value of "Return URL" to http://path_to_opauth/paypal/int_callback
-
Configure Opauth-Paypal strategy with at least
App ID
andApp Secret
. -
Direct user to
http://path_to_opauth/paypal
to authenticate
Required parameters:
<?php
'PayPal' => array(
'app_id' => 'YOUR APP ID',
'app_secret' => 'YOUR APP SECRET'
)
The list of permission are available on Attribute Level when registering application.
Opauth-PayPal is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)