Signer Authentication Tokens
Tuesday, May 17, 2016 at 02:58pmTrying to use Signer Authentication Tokens but this code always gets me “Unauthorized Accessâ€.
Please let me know what I am doing wrong.
Map signerSessionFields = new LinkedHashMap();
signerSessionFields
.put("auditInfo", project.getAuditTrailInformation());
String signerAuthenticationToken = eslClient
.getAuthenticationTokensService()
.createSignerAuthenticationToken(packageId, userRole,
signerSessionFields);
String baseUrl = apiHost.replace("/api", "");
String url = String
.format("%s/auth?signerAuthenticationToken=%s&target=%s/packages/%s/sign",
baseUrl,
new AuthenticationClient(baseUrl)
.getSessionIdForSignerAuthenticationToken(signerAuthenticationToken),
baseUrl, packageId);
Reply to: Signer Authentication Tokens
Tuesday, May 17, 2016 at 05:33pm