artdarek / oauth-4-laravel

OAuth Service Provider for Laravel 4
683 stars 215 forks source link

Facebook scopes are being ignored #98

Open ghost opened 10 years ago

ghost commented 10 years ago

The following is my config.php:

<?php

return array(

/*
|--------------------------------------------------------------------------
| oAuth Config
|--------------------------------------------------------------------------
*/

/**
 * Storage
 */
'storage' => 'Session', 

/**
 * Consumers
 */
'consumers' => array(

    /**
     * Facebook
     */
    'Facebook' => array(
        'client_id'     => Config::get('facebook.client_id'),
        'client_secret' => Config::get('facebook.client_secret'),
        'scope'         => array('email', 'user_location'),
    ),      

)

);

However, once I get redirected to the dialog, I am not prompted to allow the usage of my location. It's as if the scopes I specify were being ignored and thus I cannot request any other permissions. What's wrong?