<html>
<body>
<form action="/login">
<p>
Authenticate for:<input type="text" name="cross_client" placeholder="comma-separated list of client-ids">
</p>
Extra scopes:<input type="text" name="extra_scopes" placeholder="comma-separated list of scopes">
{{ if .OOB }}
<input type="submit" value="Login" formtarget="_blank">
{{ else }}
<input type="submit" value="Login" >
{{ end }}
</form>
<form action="/callback" method="get" >
Code
<input type="text" name="code" value="">
<br>
<input type="submit" value="Exchange Code" >
{{ if not .OOB }}
<form action="/register">
<input type="submit" value="Register" />
</body>
</html>