From 747683ba54aa7e9cfe56542696c756c6ae225275 Mon Sep 17 00:00:00 2001 From: f0x52 Date: Wed, 18 Jan 2023 16:41:00 +0100 Subject: [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 --- web/source/settings/lib/query/oauth.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'web/source/settings/lib/query/oauth.js') 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; -- cgit v1.2.3