-
Notifications
You must be signed in to change notification settings - Fork 4
/
authconf.default.php
35 lines (33 loc) · 1.36 KB
/
authconf.default.php
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
<?php
/**
* HybridAuth
* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
* (c) 2009-2015, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
*/
// ----------------------------------------------------------------------------------------
// HybridAuth Config file: http://hybridauth.sourceforge.net/userguide/Configuration.html
// ----------------------------------------------------------------------------------------
return
array(
"base_url" => "http://yourDomainName.tld/hybrid.php",
"providers" => array(
"Google" => array(
"enabled" => true,
"keys" => array("id" => "yourClientIdGoesHereAbcdefg.apps.googleusercontent.com",
"secret" => "ClientSecretGoesHere"),
"scope" => "profile email"
),
"Facebook" => array(
"enabled" => true,
"keys" => array("id" => "yourClientIdGoesHereAbcdefg", "secret" => "ClientSecretGoesHere"),
"trustForwarded" => false
)
),
// If you want to enable logging, set 'debug_mode' to true.
// You can also set it to
// - "error" To log only error messages. Useful in production
// - "info" To log info and error messages (ignore debug messages)
"debug_mode" => false,
// Path to file writable by the web server. Required if 'debug_mode' is not false
"debug_file" => "logs/error_log",
);