forked from opauth/opauth
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathopauth.conf.php.default
47 lines (42 loc) · 1.13 KB
/
opauth.conf.php.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?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 /
* - eg. if Opauth is reached via http://example.org/auth/, path is '/auth/'
* - if Opauth is reached via http://auth.example.org/, path is '/'
*/
'path' => '/',
/**
* Callback URL: redirected to after authentication, successful or otherwise
*/
'callback_url' => '{path}callback.php',
/**
* A random string used for signing of $auth response.
*/
'security_salt' => 'LDFmiilYf8Fyw5W10rx4W1KsVrieQCnpBzzpTBWA5vJidQKDx8pMJbmw28R1C4m',
/**
* 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
),
);