views/oauthlogin.html (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
{{ template "header.html" . }} <main> <div class="info"> <h3>honk oauthorize</h3> <form action="/oauth/authorize" method="POST"> <p><input tabindex=1 type="text" name="username" autocomplete=off> - username <p><input tabindex=1 type="password" name="password"> - password <input type="hidden" name="gettoken" value="1" /> <input type="hidden" name="client_id" value="{{ .ClientID }}"> <input type="hidden" name="redirect_uri" value="{{ .RedirectURI }}"> <p><button tabindex=1 name="login" value="login">login</button> </form> </div> </main> |