aboutsummaryrefslogtreecommitdiff
path: root/src/components/oauth_callback
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/oauth_callback')
-rw-r--r--src/components/oauth_callback/oauth_callback.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/oauth_callback/oauth_callback.js b/src/components/oauth_callback/oauth_callback.js
index 48ddd10d..2c6ca235 100644
--- a/src/components/oauth_callback/oauth_callback.js
+++ b/src/components/oauth_callback/oauth_callback.js
@@ -4,8 +4,10 @@ const oac = {
props: ['code'],
mounted () {
if (this.code) {
+ const { clientId } = this.$store.state.oauth
+
oauth.getToken({
- ...this.$store.state.oauth,
+ clientId,
instance: this.$store.state.instance.server,
code: this.code
}).then((result) => {