summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-10-08 13:49:56 +0200
committerLibravatar GitHub <noreply@github.com>2022-10-08 13:49:56 +0200
commit3bb45b71796cc4e7010a6ba89c27760877084d71 (patch)
tree1cdd737963482daab1c99636dc8f25205d628f09 /web/template
parent[bugfix] Fix new domain block date (#893) (diff)
downloadgotosocial-3bb45b71796cc4e7010a6ba89c27760877084d71.tar.xz
[feature] `oob` oauth token support (#889)
* move helpful advice into oauth server * rewrite HandleAuthorizeRequest to allow oob
Diffstat (limited to 'web/template')
-rw-r--r--web/template/oob.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/template/oob.tmpl b/web/template/oob.tmpl
new file mode 100644
index 000000000..2081ae8e4
--- /dev/null
+++ b/web/template/oob.tmpl
@@ -0,0 +1,8 @@
+{{ template "header.tmpl" .}}
+ <main>
+ <h1>Hi {{ .user }}!</h1>
+ <p>Here's your out-of-band token with scope <em>{{.scope}}</em>:</p>
+ <p><code>{{ .oobToken }}</code><p>
+ <p>Use it wisely!</p>
+ </main>
+{{ template "footer.tmpl" .}} \ No newline at end of file