diff options
author | 2023-01-18 16:41:00 +0100 | |
---|---|---|
committer | 2023-01-18 16:41:00 +0100 | |
commit | 747683ba54aa7e9cfe56542696c756c6ae225275 (patch) | |
tree | b3a3796a7df58fd93398b560a6c5cc1e9dd958d8 /web/source/settings/lib/query/oauth.js | |
parent | [chore] Fix new emoji preview title/alt text (#1354) (diff) | |
download | gotosocial-747683ba54aa7e9cfe56542696c756c6ae225275.tar.xz |
[chore] Settings refactor fix 2 (#1357)
* fix emoji query tagging
* fix proxy url for gts instance
* fix: don't flash callback error on authorize flow
Diffstat (limited to 'web/source/settings/lib/query/oauth.js')
-rw-r--r-- | web/source/settings/lib/query/oauth.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/web/source/settings/lib/query/oauth.js b/web/source/settings/lib/query/oauth.js index 4fac50429..34be4ffdc 100644 --- a/web/source/settings/lib/query/oauth.js +++ b/web/source/settings/lib/query/oauth.js @@ -121,10 +121,11 @@ const endpoints = (build) => ({ }).then(unwrapRes).then((app) => { app.scopes = formData.scopes; - api.dispatch(oauth.setInstance({ + api.dispatch(oauth.authorize({ instance: instance, registration: app, - loginState: "callback" + loginState: "callback", + expectingRedirect: true })); return app; |