\n\n\n\n\n\n\n\n"},"validationRules":{"type":"object","displayName":"Form validation rules","value":[{"propertyName":"username","rules":[{"ruleName":"presence","message":"Please enter your email"},{"ruleName":"email","message":"Please enter a valid email"}]},{"propertyName":"password","rules":[{"ruleName":"presence","message":"Please enter your password"}]}],"info":"Rules to check to validate form inputs","createdDate":1694542156291,"customerId":"ecb9bf8a2fab854e65045d02cb6bab50","companyId":"singularkey","preferredControlType":"validationRules"},"customCSS":{"type":"string","displayName":"CSS","createdDate":1694542156320,"customerId":"ecb9bf8a2fab854e65045d02cb6bab50","companyId":"singularkey","preferredControlType":"codeEditor","language":"css","maximizeToggle":true,"largePayload":true,"value":"#signOnButton { margin-top:15px; margin-bottom: 10px;}"},"customScript":{"type":"string","displayName":"Script","createdDate":1694542156320,"customerId":"ecb9bf8a2fab854e65045d02cb6bab50","companyId":"singularkey","preferredControlType":"codeEditor","value":"\r\n$(document).ready(function() {\r\nvar reAuthUrl = $('#reAuthUrl').val();\r\nwireUpFlowTimeoutWarning(reAuthUrl, 715);\r\n});\r\n","language":"javascript","maximizeToggle":true,"info":"Write custom JavaScript. Caution: Custom code is for advanced users only. Before using custom code, review the security risks in the DaVinci documentation by searching for \"Using custom code safely\"."},"inputSchema":{"type":"string","displayName":"Input Schema","createdDate":1694542156288,"customerId":"ecb9bf8a2fab854e65045d02cb6bab50","companyId":"singularkey","preferredControlType":"codeEditor","language":"json","info":"Follow example for JSON schema.","maximizeToggle":true},"outputSchema":{"type":"string","displayName":"Output Schema","createdDate":1694542156271,"customerId":"ecb9bf8a2fab854e65045d02cb6bab50","companyId":"singularkey","preferredControlType":"codeEditor","language":"json","info":"Follow example for JSON schema.","maximizeToggle":true},"formFieldsList":{"type":"array","constructType":"formFieldsList","displayName":"Output Fields List","createdDate":1694542156244,"customerId":"ecb9bf8a2fab854e65045d02cb6bab50","companyId":"singularkey","preferredControlType":"formFieldsList","hideLabel":false,"value":[{"preferredControlType":"textField","preferredDataType":"string","propertyName":"username","displayName":"Email","hashedVisibility":false},{"preferredControlType":"textField","preferredDataType":"string","propertyName":"password","displayName":"Password","hashedVisibility":true},{"preferredControlType":"textField","preferredDataType":"string","propertyName":"buttonValue"}]},"challenge":{"type":"string","displayName":"Challenge","createdDate":1694542156314,"customerId":"ecb9bf8a2fab854e65045d02cb6bab50","companyId":"singularkey","preferredControlType":"textField","enableParameters":true},"button":{"constructType":"button","displayName":"Submit","createdDate":1694542156280,"customerId":"ecb9bf8a2fab854e65045d02cb6bab50","companyId":"singularkey","logo":"","showLogo":true,"preferredControlType":"button","css":{"backgroundColor":"#1CAB42","color":"#ffffff"},"onClick":{"constructType":"skEvent","eventName":"continue","params":[],"eventType":"post","postProcess":{}}},"showFooter":{"value":true},"returnRequestParameters":{"value":true},"messageTitle":{"value":"Information"},"message":{"value":""},"title":{"value":"Sign In"},"bodyHeaderText":{"value":"Please login"},"recaptchaSiteKey":{"value":"6LchVWAhAAAAAGmhvJ-xFF4Qoc2jb52H9DaFJscC"},"showPoweredBy":{"value":false},"showContinueButton":{"value":false},"enablePolling":{"value":false},"pollInterval":{"value":2000},"pollRetries":{"value":60},"pollChallengeStatus":{"value":true},"httpMethod":{"value":"GET"},"httpBody":{"value":"none"},"useRecaptcha":{"value":true},"raw":{"value":""},"signResponse":{"value":false},"additionalFieldsName":{"value":"additionalProperties"},"unsafeIgnoreTLSErrors":{"value":false},"delayTime":{"value":50},"returnSuccess":{"value":true},"keepOutputIfNotValid":{"value":false},"fieldValidation":{"value":false},"outboundMtlsKey":{"value":"none"},"nodeTitle":{"value":"Username/Password Form"}},"userViews":[{"screenTemplateName":"CustomHTMLTemplate","items":[{"propertyName":"sktemplate"},{"propertyName":"customHTML"},{"propertyName":"validationRules"},{"propertyName":"customCSS"},{"propertyName":"customScript"},{"propertyName":"inputSchema"},{"propertyName":"outputSchema"},{"propertyName":"formFieldsList"},{"propertyName":"challenge"},{"propertyName":"button"}]}],"metadata":{"colors":{"canvas":"#AFD5FF","canvasText":"#253746","dark":"#2E5EA6"},"logos":{"canvas":{"imageFileName":"http.svg"}}}},"interactionId":"0070830e-a09c-494f-b334-d0604fdc4110","interactionToken":"bb3a91b685746cb814decd7ea886800c091be242abf3b643d3b514b247e1a2e3227c1f6da57ee97f60c2d4618cd92df0630113774cefebec561572ad2133c1c5acd19c197c850e96c84fb7da9647e8a0ada0513c95ba35388215512d7a90215cd0a664c4a61862a57d8c9487c935be2bf1cdd5eee8e1d9688f181fb6bfeec378","skProxyApiEnvironmentId":"us-east-2","overrides":{},"originCookies":[],"kerberosRedirectUrl":""}
var skLoadingProps = {"useIntermediateLoadingScreen":false,"intermediateLoadingScreenHTML":null,"intermediateLoadingScreenCSS":null,"customTitle":"Sign In","customFaviconLink":"https://www.drakesoftware.com/localassets/images/favicon.ico?v=2"}
function successCallback(response) { }
function errorCallback(error) { }
function loadIt(){
var param = {config: skProps, skLoadingProps, successCallback, errorCallback}
davinci.renderScreen($('#widgetContainer').get(0), param)
}
loadIt()