summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit MOUQUET <benoitm76@gmail.com>2020-03-05 12:52:46 +0100
committerBenoit MOUQUET <benoitm76@gmail.com>2020-03-05 12:52:46 +0100
commitb26e65c70cf9bc147f0f0eab7bc0bc39f05f2935 (patch)
treea200f7a8e7cd29d1a2485bb005eedabb44ddfb83
parent75073bbdb2e21a5158778ac2fd0300dc1e450bb5 (diff)
downloadwekan-b26e65c70cf9bc147f0f0eab7bc0bc39f05f2935.tar.gz
wekan-b26e65c70cf9bc147f0f0eab7bc0bc39f05f2935.tar.bz2
wekan-b26e65c70cf9bc147f0f0eab7bc0bc39f05f2935.zip
Fix: Error when retrieve token from some OIDC due to not necessary scope parameter
-rw-r--r--packages/wekan-oidc/oidc_server.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/wekan-oidc/oidc_server.js b/packages/wekan-oidc/oidc_server.js
index f6e23a15..c6d7deab 100644
--- a/packages/wekan-oidc/oidc_server.js
+++ b/packages/wekan-oidc/oidc_server.js
@@ -72,7 +72,6 @@ var getToken = function (query) {
client_secret: OAuth.openSecret(config.secret),
redirect_uri: OAuth._redirectUri('oidc', config),
grant_type: 'authorization_code',
- scope: requestPermissions,
state: query.state
}
}