+ Start a Discussion
Gindi SahotaGindi Sahota 


We have a lightning component which has a button that opens a Docusign VF page using window.open(). After upgrading to the latest version of Docusign we get the error: 'The link you followed isn’t valid. This page requires a CSRF confirmation token. Report this error to your Salesforce administrator.'

The solutions found online suggest using URLFOR, however this is not available in a Lightning Component. Does anyone have any suggestions for a solution to this problem?
SandhyaSandhya (Salesforce Developers) 

There’s nothing similar to URLFOR() in the Lightning Component framework. Instead, use simple string concatenation.Refer below links.

   Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards