\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":"00a48f75-064d-420f-8730-7ed12221a6f4","interactionToken":"8bba20670a174fb4f2ab4c48e98663ee1db76b4a4cfbce902522a916a4b1737375b70457608fca159a34380271beef6a9afc5d4f5dcc2d33d788e88bf63985c6f190ec77f8369ab25df74b4279c4e1551f79aa4a8bec56171bc1c0316b72585c70ccec9c475925858962838ebb89c086d918c2381551c3ccc5130850a9706aec","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()