We have a managed package on AppExchange.
After installing that package there is some configuration to do on a 3rd party site (Middleware).
The configuration page can be accessed via a configuration link.
That link is under the Salesforce menu installed packages --> configure.
(If you click the link a new page opens)
Everything works fine while in Salesforce Classic.

But when clicking that link in Salesforce Lightning the newly opened page is stuck at the integration servlet and the page remains all-white. If you take a look at the console it states:

The target origin provided ('https://xxxx.lightning.force.com') does not match the recipient window's origin ('https://xxxx.salesforce.com').

The URL which is generated by Salesforce (lid, eid, linkToken are fake):


There the isdtp=1 parameter came to my eyes. For what I have read that parameter is for detecting if you are accessing Salesforce via Lightning.
If I copy that very same link and remove the isdtp=1 everything works fine and the page is loading.
But I guess I have no influence on that link programmatically.

So my question is simply what can we do to get our package configuration link working in Salesforce Lightning?
Any help is highly appreciated. And please let me know if you need further information.

  • How did you build the page so it appeared in the Configure Custom Link picklist? I can't find the info about this. May 16, 2021 at 8:23

1 Answer 1


Meanwhile, Salesforce fixed this bug.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .