$core_v2_authentication.RedirectToAuthenticationLink Script API failing

We are in the process of upgrading to Verint Version 13. We have external linked authentication with auth0 for authentication. We noticed while calling the $core_v2_authentication.RedirectToAuthenticationLink Script API it is failing. We have correctly given the 3 parameters required for API call.

Any help?

Regards,

Anshuman