SAP Knowledge Base Article - Public

2808730 - AWLI - Widget does not display the login button when trying to apply with LinkedIn - Recruiting

Symptom

On the RMK website, after clicking 'Apply with LinkedIn', the widget is blank and does not show the button to login to LinkedIn.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

  • SAP SuccessFactors Recruiting Management
  • SAP SuccessFactors Recruiting Marketing

Reproducing the Issue

After clicking on Apply with LinkedIn, a blank widget is displayed:

Blank widget.jpg

In the console (Developer Tools), you will see this message: Uncaught Error: Error trying to initialize the widget! Error is :origin: error.origin.not.in.api.domains

Console error.png

Cause

  • The problem is that the SF API is not allowlisted by LinkedIn - there was an issue during the integration setup. Generally, this happens because when a related URL is updated in Provisioning, the LinkedIn object in Manage Data is updated as well, but this is not transferred to the LinkedIn side.
  • Another cause of this could be that the RMK Portal and Search url has a trailing slash '/'.
  • Another cause for test instance can be if the RMK Portal and Search url has entered with a capital 'T' instead of 't'. 

Resolution

Follow these steps one by one:

Please NOTE: Reach out to a partner or support to check Provisioning to ensure there is no trailing slash  in the RMK Portal URL & RMK Search URL. If there is, please have them remove that, then proceed with the following steps.

Also fix Capital Character "T" to "t" in the RMK Portal URL & RMK Search URL in case of Test Instances and take the following steps.

  1. Go to Admin Center > Manage Data > search for "LinkedInIntegrationConfiguration". There should be a single entry.
  2. Delete permanently this entry:

    To delete.jpg
  3. Make sure you are NOT logged in to LinkedIn with any account on your current browser. If you are, please log out first at this step
  4. Go to Admin Center > Integration Center > Security Center > LinkedIn Account Setup
  5. Sign in with the account which has the required rights on the LinkedIn side:

    SignIn.jpg
  6. This process should have allowlisted the domain. To complete the resolution, the site configuration needs to be reload (see: 3053742 - How to perform a "Site Reload" in Career Site Builder - Recruiting Marketing).
  7. The widget should now display the sign-in button correctly:

 LinkedIn OK.jpg

See Also

2683467 - Apply with LinkedIn 2.0 - Recruiting Marketing

Keywords

SF, SuccessFactors, Linkedin missing button, origin: error.origin.not.in.api.domains , KBA , LOD-SF-RCM-INT , Integration Center & Intelligent Services , LOD-SF-RMK , Recruiting Marketing , Problem

Product

SAP SuccessFactors Recruiting all versions