Here is a workaround:
Edit userinfo endpoint in your facabook Auth.provider to retrieve specific user attributes. Something like this:
https://graph.facebook.com/me?fields=picture,name,id,emailhttps://graph.facebook.com/me?fields=picture,name,id,email
And modify the reg. handler to extract the attributes from the attributeMap and create/update the user as follow:
for(string key : data.attributeMap.keySet()) { data.attributeMap.get(key)); if(key == 'name') u.name = data.attributeMap.get('name');
for(string key : data.attributeMap.keySet())
{
data.attributeMap.get(key));
if(key == 'name')
u.name = data.attributeMap.get('name');
...
}
}