Hi there,
I've been trying to finish the ¨Set Up Social Sign-On¨ step
but the error above is shown. Could anyone help me?
Hi @Pedro Mendes and @Vivian Poon,
try the below
In 'Module3RegistrationHandler' Registration Handler Apex class ->to create a user your google account's firstname,lastname(surname) & email should not be null.
Especially 'LastName' i.e. go to your Google Account->Personal Info->Name->Name->Edit->Surname.
Try using 'Test-Only Initialization URL' in browser and check if First name, last name and email are not null,as shown below
<user>
<full_name>User Name</full_name>
<provider>Google</provider>
<org_id>00D5g00000KLFs</org_id>
<id>10430624005704332551</id>
<portal_id>00000000000000</portal_id>
<locale>en-GB</locale>
<first_name>someName</first_name>
<last_name>someName</last_name>
<email>Gmail@gmail.com</email>
</user>
Try to check again after making changes, I hope you must be able to login using google now.