Skip to main content
added 34 characters in body
Source Link

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');
  
           ...
}

}

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,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');

       ...

}

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,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');
  
           ...
}
Source Link

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,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');

       ...

}