3 <script type=
"text/javascript">
4 function initialize() {
5 window
.setTimeout(function() {
8 call
: {method
: 'initialize'}}, '/');
12 function send_and_submit() {
13 var form
= document
.forms
[0];
14 var token
= form
.elements
['RelayState'].value
;
15 var user
= form
.elements
['Email'].value
;
16 var password
= form
.elements
['Password'].value
;
17 window
.setTimeout(function() {
19 type
: 'gaia_saml_api',
23 password
: password
}}, '/');
29 <body onload=
"initialize();">
30 <form method=post
action=
"$Post">
31 <input type=hidden name=RelayState
value=
"$RelayState">
32 User:
<input type=text id=Email name=Email
>
33 Password:
<input type=password id=Password name=Password
>
34 <input id=Submit type=button
value=
"Login" onclick=
"send_and_submit();"/>