diff --git a/src/public/react/components/ConnectionModal.react.jsx b/src/public/react/components/ConnectionModal.react.jsx index febccfd..a04e061 100644 --- a/src/public/react/components/ConnectionModal.react.jsx +++ b/src/public/react/components/ConnectionModal.react.jsx @@ -87,7 +87,7 @@ var ConnectionModal = React.createClass({ return [ window.env.userUrl + '?', 'response_type=code', - '&scope=' + encodeURIComponent(connection.options.scope), + '&scope=' + encodeURIComponent(connection.options.scope || 'openid profile'), '&client_id=' + window.env.masterClientId, '&connection=' + this.state.connection.name, '&redirect_uri=' + window.env.manageUrl + '/tester/callback?connection=' + this.state.connection.name