ContainerImage.Pinniped/internal/oidc/login/login_form.gohtml
Margo Crawford 07b2306254 Add basic outline of login get handler
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-04-28 11:51:36 -07:00

33 lines
750 B
Plaintext

<!--
Copyright 2022 the Pinniped contributors. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
--><!DOCTYPE html>
<html>
<body>
<h1>Pinniped</h1>
<p>{{ .IDPName }}</p>
<form action="/login?state={{.State}}" method="post">
<div>
<label for="uname"><b>Username</b></label>
<input type="text" placeholder="Username" name="username" id="username" required>
</div>
<div>
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Password" name="password" id="password" required>
</div>
<div>
<input type="hidden" name="state" id="state" value="{{.State}}">
</div>
<button name="submit" id="submit" type="submit">Login</button>
</form>
</body>
</html>