Skip to main content

I have done authentication and also done editing in Apex Class as it is mentioned in trailhead module (Identity for Customer) but still getting this error.

While doing Social Sign On of Facebook I am getting this error

#SSO Identity Provider #Trailhead

6 réponses
  1. 23 juil. 2021, 18:17

    Object Id  is any but unique.(email, user name_org suffix .. etc)

    which will return while you login in  during salesforce SSO.

     

    Object Id is any but unique.(email, user name_org suffix .. etc)which will return while you login in during salesforce SSO. i suggest you follow this video and code.

     

    i suggest you follow this video and code.

    the code will create the users automatically.

     

    https://www.youtube.com/watch?v=vsrl8bo1r1M

     

    https://github.com/salesforceidentity/IdentityTrail-Module3/blob/master/SimpleFacebookRegistrationHandler.cls

     

    in Azure Active Directory. you can create multiple objects. 

    this objects will return during the login. 

    2021-07-23_23-25-21.jpg

     

    the difference is here Azure Active Directory is easy to use out of the box. 

    but Facebook is, you need to code.

    i hope this helps, 

    thanks.

0/9000