jhullin

Redirect to Designer - Missing proxy query parameter

0 votes
I emailed support earlier, but I'll post the question here too in case it leads to a quicker/better resolution. I'm running into this error in Sandbox when accessing a URL that redirects to the sender's designer view. https://sandbox.e-signlive.com/servererror/400?messageKey=error.unauthorised.proxyMissing&packageId= To generate the URL, I'm using the Java SDK (10.10) like this.
EslClient esl = new EslClient(API_KEY, "https://sandbox.e-signlive.com/api");
String authToken = esl.getAuthenticationTokensService().createSenderAuthenticationToken(packageId);
AuthenticationClient client = new AuthenticationClient("https://sandbox.e-signlive.com/access");
String url = client.buildRedirectToDesignerForSender(authToken, packageId);
The generated URL will look like this. https://sandbox.e-signlive.com/access/auth?senderAuthenticationToken=NDc0ZWIxN2YtZDUwNi00ZGRlLThhNDUtYWNjOGNhMTdjNjY2&target=https%3A%2F%2Fsandbox.e-signlive.com%2Faccess%2Fdesigner%2F5b36a471-eebf-4770-a2be-560e4cafae2d Please let me know what would be causing this error. Thanks.

Reply to: Redirect to Designer - Missing proxy query parameter

0 votes
Hello Joseph, Can you please use SDK 10.13 . It seems there is the version mismatch issue. http://docs.esignlive.com/content/c_integrator_s_guide/sdk/a_introduction/getting_started_with_sdks.htm Regards, Yalda

Reply to: Redirect to Designer - Missing proxy query parameter

0 votes
Thanks for the suggestion, but I have the same issue using SDK 10.13. This link: https://sandbox.e-signlive.com/access/auth?senderAuthenticationToken=OTEyOGE1ZmUtNjgwNy00ZWI1LWJiZmYtOTllZjM4MWMzOTEz&target=https%3A%2F%2Fsandbox.e-signlive.com%2Faccess%2Fdesigner%2Ff05260ea-8a32-413f-85bf-5ca0a2d73949 Yielded this result: https://sandbox.e-signlive.com/servererror/400?messageKey=error.unauthorised.proxyMissing&packageId=

Reply to: Redirect to Designer - Missing proxy query parameter

0 votes
Support helped me troubleshoot this. For posterity, I was using the wrong URL to create the AuthenticationClient. Below is the corrected block of code.
EslClient esl = new EslClient(API_KEY, "https://sandbox.e-signlive.com/api");
String authToken = esl.getAuthenticationTokensService().createSenderAuthenticationToken(packageId);
AuthenticationClient client = new AuthenticationClient("https://sandbox.e-signlive.com");
String url = client.buildRedirectToDesignerForSender(authToken, packageId); 

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off