Skip to content

Commit

Permalink
fall back to default scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
zxan1285 committed Sep 17, 2019
1 parent a348a27 commit 04ce53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/react/components/ConnectionModal.react.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04ce53d

Please sign in to comment.