Skip to content

Latest commit

 

History

History
executable file
·
44 lines (33 loc) · 1.13 KB

README.md

File metadata and controls

executable file
·
44 lines (33 loc) · 1.13 KB

Opauth-Facebook

Opauth strategy for Facebook authentication.

Implemented based on https://www.x.com/developers/paypal/documentation-tools/quick-start-guides/oauth-integration-paypal-access-getting

Getting started

  1. Install Opauth-Paypal:

    cd path_to_opauth/Strategy
    git clone https://github.com/24hours/opauth-paypal.git PayPal
  2. 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
  3. Configure Opauth-Paypal strategy with at least App ID and App Secret.

  4. Direct user to http://path_to_opauth/paypal to authenticate

Strategy configuration

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.

License

Opauth-PayPal is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)