Hi, Jérôme. It worked! Just for the record here, the final settings were as follows:
In deployerConfigContext.xml: <bean id="serviceRegistryDao" class="org.jasig.cas.services.InMemoryServiceRegistryDaoImpl"> <property name="registeredServices"> <list> <bean class="org.jasig.cas.services.RegisteredServiceImpl"> <property name="id" value="0" /> <property name="name" value="HTTPS Services" /> <property name="description" value="YOUR HTTP Service" /> <property name="serviceId" value="https://**" /> <property name="evaluationOrder" value="0" /> <property name="usernameAttribute" value="someAttributeName" /> <property name="allowedAttributes"> <list> <!-- facebook --> <value>name</value> <value>email</value> <value>access_token</value> </list> </property> </bean> </list> </property> </bean> And in applicationContext.xml: <bean id="facebook" class="org.scribe.up.provider.impl.FacebookProvider"> <property name="key" value="${cas.facebook.key}" /> <property name="secret" value="${cas.facebook.secret}" /> <property name="scope" value="email" /> </bean> Thanks so much! *Frederico Zveiter* On Wed, Apr 17, 2013 at 11:56 AM, jleleu <[email protected]> wrote: > Hi, > > It depends on your FacebookProvider configuration here. > The appropriate permission for email must be requested (scope property) > and the email must be requested in the Facebook response (fields property). > For example : > <property name="scope" value="email" /> > <property name="fields" value="id,email" /> > > Best regards, > Jérôme > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
