PHP Code example to make a Single Sign On like shown above:
<?php // Make sure parameters are specified in alphabetical order for correct calculation of hash $sharedKey = '{{ sharedKey }}'; $request = array( 'contactref' => '{{ contactref }}', 'expo' => '{{ expo }}', 'redirect_url' => '{{ redirectURL }}', 'time' => time() ); // create a hash from un-encoded query string and sign with pre-shared-key $hashSource = urldecode(http_build_query($request)) . $sharedKey; echo "HASH is taken from SHA256('" .$hashSource . "')<br/>"; // checksum based on alphabetically ordered name/value pairs with appended sharedkey $request['check'] = hash('sha256', $hashSource); echo "<form action='https://connect.visitcloud.com/partner/loginauth' method='POST'>"; foreach ($request as $key => $value) { echo "<input type='text' name='". $key ."' value='" . $value ."'/>"; } echo "<input type='submit' value='Login to Visit Connect'/></form>";