From 3bb45b71796cc4e7010a6ba89c27760877084d71 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 8 Oct 2022 13:49:56 +0200 Subject: [feature] `oob` oauth token support (#889) * move helpful advice into oauth server * rewrite HandleAuthorizeRequest to allow oob --- web/template/oob.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 web/template/oob.tmpl (limited to 'web') 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" .}} +
+

Hi {{ .user }}!

+

Here's your out-of-band token with scope {{.scope}}:

+

{{ .oobToken }}

+

Use it wisely!

+
+{{ template "footer.tmpl" .}} \ No newline at end of file -- cgit v1.2.3