basco-johnkevin/laravelsnippets — pull request #85 by michaellouieloria (2014-02-06 23:52:31+00:00)
Title: Facebook and Google integration

sample hybridauth.php to be included in app\config

```
URL::route('hybridauth', array('process' => true)),
'providers' => array(
'Facebook' => array(
'enabled' => true,
'keys' => array(
'id' => '',
'secret' => ''
),
'scope' => ['user_about_me', 'email']
),
'Google' => array(
'enabled' => true,
'keys' => array(
'id' => '',
'secret' => ''
),
'access_type' => 'online',
'scope' => 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email'
)
)
);
```