diff options
author | 2022-10-08 13:49:56 +0200 | |
---|---|---|
committer | 2022-10-08 13:49:56 +0200 | |
commit | 3bb45b71796cc4e7010a6ba89c27760877084d71 (patch) | |
tree | 1cdd737963482daab1c99636dc8f25205d628f09 /internal/processing/oauth.go | |
parent | [bugfix] Fix new domain block date (#893) (diff) | |
download | gotosocial-3bb45b71796cc4e7010a6ba89c27760877084d71.tar.xz |
[feature] `oob` oauth token support (#889)
* move helpful advice into oauth server
* rewrite HandleAuthorizeRequest to allow oob
Diffstat (limited to 'internal/processing/oauth.go')
-rw-r--r-- | internal/processing/oauth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/oauth.go b/internal/processing/oauth.go index 9c974f76e..0a36bc336 100644 --- a/internal/processing/oauth.go +++ b/internal/processing/oauth.go @@ -24,7 +24,7 @@ import ( "github.com/superseriousbusiness/gotosocial/internal/gtserror" ) -func (p *processor) OAuthHandleAuthorizeRequest(w http.ResponseWriter, r *http.Request) error { +func (p *processor) OAuthHandleAuthorizeRequest(w http.ResponseWriter, r *http.Request) gtserror.WithCode { // todo: some kind of metrics stuff here return p.oauthServer.HandleAuthorizeRequest(w, r) } |