Debian Codegraph @

pkg/op/form_post.html.tmpl

raw
1 <!doctype html>
2 <html>
3 <head><meta charset="UTF-8" /></head>
4 <body onload="javascript:document.forms[0].submit()">
5 <form method="post" action="{{ .RedirectURI }}">
6 {{with .Params.state}}<input type="hidden" name="state" value="{{ index . 0 }}"/>{{end}}
7 {{with .Params.code}}<input type="hidden" name="code" value="{{ index . 0 }}" />{{end}}
8 {{with .Params.id_token}}<input type="hidden" name="id_token" value="{{ index . 0 }}"/>{{end}}
9 {{with .Params.access_token}}<input type="hidden" name="access_token" value="{{ index . 0 }}" />{{end}}
10 {{with .Params.token_type}}<input type="hidden" name="token_type" value="{{ index . 0 }}" />{{end}}
11 {{with .Params.expires_in}}<input type="hidden" name="expires_in" value="{{ index . 0 }}" />{{end}}
12 </form>
13 </body>
14 </html>