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/processor.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/processor.go')
-rw-r--r-- | internal/processing/processor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/processor.go b/internal/processing/processor.go index 5dd795c18..81ed3c8e5 100644 --- a/internal/processing/processor.go +++ b/internal/processing/processor.go @@ -160,7 +160,7 @@ type Processor interface { NotificationsClear(ctx context.Context, authed *oauth.Auth) gtserror.WithCode OAuthHandleTokenRequest(r *http.Request) (map[string]interface{}, gtserror.WithCode) - OAuthHandleAuthorizeRequest(w http.ResponseWriter, r *http.Request) error + OAuthHandleAuthorizeRequest(w http.ResponseWriter, r *http.Request) gtserror.WithCode // SearchGet performs a search with the given params, resolving/dereferencing remotely as desired SearchGet(ctx context.Context, authed *oauth.Auth, searchQuery *apimodel.SearchQuery) (*apimodel.SearchResult, gtserror.WithCode) |