2017 © Pedro Peláez
 

library thecity

The City strategy for Opauth

image

opauth/thecity

The City strategy for Opauth

  • Saturday, September 28, 2013
  • by ericthelast
  • Repository
  • 5 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Opauth-TheCity

[Opauth][1] strategy for The City authentication., (*1)

Implemented based on https://developers.facebook.com/docs/authentication/, (*2)

Getting started

  1. Install Opauth-TheCity:, (*3)

    cd path_to_opauth/Strategy
    git clone git@github.com:thecity/thecity-php.git TheCity
    
  2. Create a plugin/app for The City (see https://api.onthecity.org/docs/apps for steps), (*4)

    • Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually http://path_to_your_app/thecity/int_callback
  3. Configure Opauth-TheCity strategy with at least Client ID and Client Secret., (*5)

  4. Direct user to http://path_to_opauth/thecity to authenticate, (*6)

Strategy configuration

Required parameters:, (*7)

<?php
'TheCity' => array(
  'client_id' => 'YOUR APP ID',
  'client_secret' => 'YOUR APP SECRET',
  'scope' => 'SCOPE (ie user_basic)'
)

License

Opauth-TheCity is MIT Licensed
Copyright © 2013 City Dev Force, (*8)

The Versions

28/09 2013

dev-master

9999999-dev http://opauth.org

The City strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth thecity