Fixed Oauth2 app auth problems

This commit is contained in:
Frikky
2023-11-15 13:32:24 +01:00
parent 9e1195caf2
commit 06593a2ef3
3 changed files with 49 additions and 58 deletions
+4 -2
View File
@@ -1713,7 +1713,9 @@ const AngularWorkflow = (defaultprops) => {
})
.then((responseJson) => {
if (!responseJson.success) {
toast("Failed to start: " + responseJson.reason);
//toast("Failed to start: " + responseJson.reason);
toast(responseJson.reason);
//toast.error(responseJson.reason);
setExecutionRunning(false);
setExecutionRequestStarted(false);
stop();
@@ -16490,7 +16492,7 @@ const AngularWorkflow = (defaultprops) => {
var newAuthOption = JSON.parse(JSON.stringify(authenticationOption));
var newFields = [];
console.log("Fields: ", newAuthOption.fields)
console.log("Fields: ", newAuthOption.fields)
for (let authkey in newAuthOption.fields) {
const value = newAuthOption.fields[authkey];
newFields.push({