summaryrefslogtreecommitdiff
path: root/web/template/authorize.tmpl
blob: b6eef9561a2c8d80e59cdd6d85824c8f2f7751ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ template "header.tmpl" .}}
    <main>
        <form action="/oauth/authorize" method="POST">
            <h1>Hi {{.user}}!</h1>
            <p>Application <b>{{.appname}}</b> {{if len .appwebsite | eq 0 | not}}({{.appwebsite}}) {{end}}would like to perform actions on your behalf, with scope <em>{{.scope}}</em>.</p>
            <p>The application will redirect to {{.redirect}} to continue.</p>
            <p>
                <button
                    type="submit"
                    style="width:200px;"
                >
                    Allow
                </button>
            </p>
        </form>
    </main>
{{ template "footer.tmpl" .}}