-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facebook scope more information #54
Comments
My memory is getting rusty on this, but you should be able to retrieve the information using: Event::listen('oneauth.logged', function($client, $user_data) {
// it should be included in $user_data
}); Or you can recall it from $user_data = \OneAuth\Auth\Core::session(); |
Sorry! None of these work :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I was trying to pass more than 2 scopes to facebook api. It fetches the data from FB API but its not stored in 'oneauth' session. Is there any way I can get those?
'facebook' => array( 'id' => 'XXXXXXXXXXX', 'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXX', 'scope' => 'email,offline_access,user_about_me,user_location,user_religion_politics', ),
The text was updated successfully, but these errors were encountered: