<?php
/**
* Opauth basic configuration file to quickly get you started
* ==========================================================
* To use: rename to opauth.conf.php and tweak as you like
* If you require advanced configuration options, refer to opauth.conf.php.advanced
*/
$config = array(
/**
* Path where Opauth is accessed.
* - Begins and ends with /
*/
'path' => '/',
/**
* Callback URL: redirected to after authentication, successful or otherwise
*/
'callback_url' => '{path}callback.php',
/**
* A random string used for signing of $auth response.
*
* NOTE: PLEASE CHANGE THIS INTO SOME OTHER RANDOM STRING
*/
'security_salt' => 'dfliajsd[ofjsa[oejcf[osij[ofasjd;lxfjdjfs',
/**
* Strategy
* Refer to individual strategy's documentation on configuration requirements.
*
* eg.
* 'Strategy' => array(
*
* 'Facebook' => array(
* 'app_id' => 'APP ID',
* 'app_secret' => 'APP_SECRET'
* ),
*
* )
*
*/
'Strategy' => array(
// Define strategies and their respective configs here
'Facebook' => array(
'app_id' => 'xxxxxxxxxxxxxxxx',
'app_secret' => 'xxxxxxxxxxxxxxx'
),
'Google' => array(
'client_id' => 'xxxxxxxxxxxxxxxxxxxx',
'client_secret' => 'xxxxxxxxxxxxxxxxxx'
),
'Twitter' => array(
'key' => 'xxxxxxxxxxxxxxxxxxxx',
'secret' => 'xxxxxxxxxxxxxxxxxxxxxx'
),
),
);