diff options
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; |