<html>
<head>
</head>
<body>

<script>

    var args = {};
    var params = { fn: "clientAuthSuccessCallback", args: args };

    qsParams = window.location.search.substring(1).split("&");
    for (var i in qsParams) {
    	var p = qsParams[i].split("=")[0];
    	var q = qsParams[i].split("=")[1];

    	args[p] = decodeURIComponent(q);
    }

    var origin = "{{canonical-url}}";
 
    // This gets used in the IDE and the runtime. Ick.
    if (origin == "{{canonical-url}}") {
        origin = "*";
    }

  