mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] oob
oauth token support (#889)
* move helpful advice into oauth server * rewrite HandleAuthorizeRequest to allow oob
This commit is contained in:
8
web/template/oob.tmpl
Normal file
8
web/template/oob.tmpl
Normal file
@@ -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" .}}
|
Reference in New Issue
Block a user