From 520b9f59a8369e052d3dcb91074f1f88283f6b1f Mon Sep 17 00:00:00 2001 From: Mathias Conradt Date: Thu, 12 Sep 2019 10:41:52 +0200 Subject: [PATCH] PR for ES-1843 --- src/public/react/components/ConnectionModal.react.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/react/components/ConnectionModal.react.jsx b/src/public/react/components/ConnectionModal.react.jsx index 9ed4d71..ef9288a 100644 --- a/src/public/react/components/ConnectionModal.react.jsx +++ b/src/public/react/components/ConnectionModal.react.jsx @@ -85,7 +85,7 @@ var ConnectionModal = React.createClass({ return [ window.env.userUrl + '?', 'response_type=code', - '&scope=openid%20profile', + '&scope=' + encodeURIComponent(this.state.connection.options.scope), '&client_id=' + window.env.masterClientId, '&connection=' + this.state.connection.name, '&redirect_uri=' + window.env.manageUrl + '/tester/callback?connection=' + this.state.connection.name