Skip to content

Commit

Permalink
fix: remove redirect_url field from conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvanshus-crest committed May 28, 2021
1 parent 1d10657 commit 9be7d81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/src/main/webapp/components/BaseFormView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,10 @@ class BaseFormView extends PureComponent {
}
});

if (this.isOAuth) {
// Prevent passing redirect_url field used in OAuth to backend conf file
body.delete('redirect_url');
}
if (this.props.mode === MODE_EDIT) {
body.delete('name');
}
Expand Down

0 comments on commit 9be7d81

Please sign in to comment.