Files
event/lib/hybridauth3/examples/example_06/config.php
T
2025-03-05 14:10:06 +09:00

36 lines
939 B
PHP

<?php
/**
* Build a configuration array to pass to `Hybridauth\Hybridauth`
*/
$config = [
/**
* Set the Authorization callback URL to https://path/to/hybridauth/examples/example_06/callback.php.
* Understandably, you need to replace 'path/to/hybridauth' with the real path to this script.
*/
'callback' => 'https://path/to/hybridauth/examples/example_06/callback.php',
'providers' => [
'Twitter' => [
'enabled' => true,
'keys' => [
'key' => '...',
'secret' => '...',
],
],
'LinkedIn' => [
'enabled' => true,
'keys' => [
'id' => '...',
'secret' => '...',
],
],
'Facebook' => [
'enabled' => true,
'keys' => [
'id' => '...',
'secret' => '...',
],
],
],
];