Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / test / data / login / saml_api_login_auth.html
blobf037a1902d574d8440372d04389d3c610c942e57
1 <html>
2 <head>
3 <script type="text/javascript">
4 function send_and_submit() {
5 var form = document.forms[0];
6 var token = form.elements['RelayState'].value;
7 window.setTimeout(function() {
8 window.postMessage({
9 type: 'gaia_saml_api',
10 call: {method: 'confirm', token: token}}, '/');
11 form.submit();
12 }, 0);
14 </script>
15 </head>
16 <body onload="send_and_submit();">
17 <form method=post action="$Post">
18 <input type=hidden name=SAMLResponse value="fake_response"/>
19 <input type=hidden name=RelayState value="$RelayState">
20 </form>
21 </body>
22 </html>