{"action":"closed","issue":{"url":"https://api.github.com/repos/omab/python-social-auth/issues/818","repository_url":"https://api.github.com/repos/omab/python-social-auth","labels_url":"https://api.github.com/repos/omab/python-social-auth/issues/818/labels{/name}","comments_url":"https://api.github.com/repos/omab/python-social-auth/issues/818/comments","events_url":"https://api.github.com/repos/omab/python-social-auth/issues/818/events","html_url":"https://github.com/omab/python-social-auth/issues/818","id":126272197,"number":818,"title":"Facebook auth should include return_scopes to see which requested permissions have been granted","user":{"login":"seawolf42","id":2721922,"avatar_url":"https://avatars.githubusercontent.com/u/2721922?v=3","gravatar_id":"","url":"https://api.github.com/users/seawolf42","html_url":"https://github.com/seawolf42","followers_url":"https://api.github.com/users/seawolf42/followers","following_url":"https://api.github.com/users/seawolf42/following{/other_user}","gists_url":"https://api.github.com/users/seawolf42/gists{/gist_id}","starred_url":"https://api.github.com/users/seawolf42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seawolf42/subscriptions","organizations_url":"https://api.github.com/users/seawolf42/orgs","repos_url":"https://api.github.com/users/seawolf42/repos","events_url":"https://api.github.com/users/seawolf42/events{/privacy}","received_events_url":"https://api.github.com/users/seawolf42/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-01-12T20:48:33Z","updated_at":"2016-12-27T15:22:50Z","closed_at":"2016-12-27T15:22:50Z","body":"When the user approves FB login, they may grant all, some, or none of the scopes requested by the application. By passing `\"return_scopes\": true` as a parameter to the login URL, the data returned includes a list of scopes that were actually granted by the user.\n\nI am happy to do the work to make this work, but I'm not entirely sure where this should go. It appears to be a parameter on the call to the `AUTHORIZATION_URL`, though when I add it to `SOCIAL_AUTH_FACEBOOK_EXTRA_ARGUMENTS` in settings it is not being picked up.\n\nAn alternate way to retrieve this info is calling the Facebook SDK (using facebook-sdk, for instance), but it seems this belongs in the authentication pipeline as that's where I am populating the database with the user's preferences and settings.\n"}}
{"actor":{"display_login":"omab"}}