\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":"03c17dc3-8ee8-4a96-9811-b2bdca04500c","interactionToken":"4578d090b2d6f166f09340f9bbf2ed09ffaf2904223b8c3a19602cb5c66017c43859ead5a8a00601ce542c99c3c7f3ee62c8f8146f0d74d30425cccbfc78f38395c430c4a31df45215b452a018d533a2c20ccf29e08909d606d4cbae32d16e727bd6ec6784ff247a6e4b78b2e24afbbd156b2b252dac2120d9c03469b3ea8456","skProxyApiEnvironmentId":"us-west-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()