File: usercode.html

package info (click to toggle)
golang-github-zitadel-oidc 3.44.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,520 kB
  • sloc: makefile: 5
file content (21 lines) | stat: -rw-r--r-- 679 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{ define "usercode" -}}
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>Device authorization</title>
    </head>
    <body style="display: flex; align-items: center; justify-content: center; height: 100vh;">
        <form method="POST" style="height: 200px; width: 200px;">
            <h1>Device authorization</h1>
            <div>
                <label for="user_code">Code:</label>
                <input id="user_code" name="user_code" style="width: 100%">
            </div>
            <p style="color:red; min-height: 1rem;">{{.Error}}</p>

            <button type="submit">Login</button>
        </form>
    </body>
</html>
{{- end }}