dev-master
9999999-dev http://opauth.orgThe City strategy for Opauth
MIT
The Requires
- php >=5.2.0
- opauth/opauth >=0.2.0
authentication auth thecity
Wallogit.com
2017 © Pedro Peláez
The City strategy for Opauth
[Opauth][1] strategy for The City authentication., (*1)
Implemented based on https://developers.facebook.com/docs/authentication/, (*2)
Install Opauth-TheCity:, (*3)
cd path_to_opauth/Strategy git clone git@github.com:thecity/thecity-php.git TheCity
Create a plugin/app for The City (see https://api.onthecity.org/docs/apps for steps), (*4)
http://path_to_your_app/thecity/int_callback
Configure Opauth-TheCity strategy with at least Client ID and Client Secret., (*5)
Direct user to http://path_to_opauth/thecity to authenticate, (*6)
Required parameters:, (*7)
<?php 'TheCity' => array( 'client_id' => 'YOUR APP ID', 'client_secret' => 'YOUR APP SECRET', 'scope' => 'SCOPE (ie user_basic)' )
Opauth-TheCity is MIT Licensed
Copyright © 2013 City Dev Force, (*8)
The City strategy for Opauth
MIT
authentication auth thecity