jnorthr / socialauth

Automatically exported from code.google.com/p/socialauth
0 stars 0 forks source link

Custom permissions - one at a time #272

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Set no custom permissions in spring web demo
2.set the AUTHENTICATE_ONLY permission. Currently not possible in spring

What is the expected output? What do you see instead?
Is it possible to set the AUTHENTICATE_ONLY permission in the spring app. The 
expected behaviour would that the user is authenticated only. Then at a later 
stage request custom permissions one at a time through the application code?
The current behaviour is that the oauth workflow automatically requests for 
"App would like to access your public profile, friend list, email address, 
birthday and current city." when only email is set in the custom permissions

Please use labels and text to provide additional information.
Facebook recommends requesting permissions only when you need them. 

Original issue reported on code.google.com by suneetka...@gmail.com on 7 Jun 2013 at 12:15

GoogleCodeExporter commented 8 years ago
You can pass the custom permission in spring application by doing following 
entry in properties.xml file.

<prop 
key="graph.facebook.com.custom_permissions">email,user_birthday,user_location</p
rop> 

Original comment by tarun.na...@3pillarglobal.com on 14 Jun 2013 at 9:05

GoogleCodeExporter commented 8 years ago
Closing this issue. Please post new one if you find it difficult to set 
permissions through configuration.

Original comment by tarun.na...@3pillarglobal.com on 19 Jun 2013 at 10:30