Skip to content

Commit 4e22508

Browse files
Update
1 parent 93499e5 commit 4e22508

3 files changed

Lines changed: 74 additions & 4 deletions

File tree

widgets/HTTP-batchsink.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,30 @@
275275
]
276276
}
277277
},
278+
{
279+
"widget-type": "select",
280+
"label": "Grant Type",
281+
"name": "oauth2GrantType",
282+
"widget-attributes": {
283+
"values": [
284+
"Refresh Token",
285+
"Client Credentials"
286+
],
287+
"default": "Refresh Token"
288+
}
289+
},
290+
{
291+
"widget-type": "select",
292+
"label": "Client Authentication",
293+
"name": "oauth2ClientAuthentication",
294+
"widget-attributes": {
295+
"values": [
296+
"Body",
297+
"Request Parameter"
298+
],
299+
"default": "Body"
300+
}
301+
},
278302
{
279303
"widget-type": "textbox",
280304
"label": "Auth URL",
@@ -466,6 +490,20 @@
466490
}
467491
]
468492
},
493+
{
494+
"name": "Authenticate with Grant type",
495+
"condition": {
496+
"property": "oauth2GrantType",
497+
"operator": "equal to",
498+
"value": "Client Credentials"
499+
},
500+
"show": [
501+
{
502+
"name": "oauth2ClientAuthentication",
503+
"type": "property"
504+
}
505+
]
506+
},
469507
{
470508
"name": "Authenticate with OAuth2",
471509
"condition": {
@@ -474,6 +512,10 @@
474512
"value": "oAuth2"
475513
},
476514
"show": [
515+
{
516+
"name": "oauth2GrantType",
517+
"type": "property"
518+
},
477519
{
478520
"name": "authUrl",
479521
"type": "property"

widgets/HTTP-batchsource.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,20 @@
744744
}
745745
]
746746
},
747+
{
748+
"name": "Authenticate with Grant type",
749+
"condition": {
750+
"property": "oauth2GrantType",
751+
"operator": "equal to",
752+
"value": "Client Credentials"
753+
},
754+
"show": [
755+
{
756+
"name": "oauth2ClientAuthentication",
757+
"type": "property"
758+
}
759+
]
760+
},
747761
{
748762
"name": "Authenticate with OAuth2",
749763
"condition": {
@@ -756,10 +770,6 @@
756770
"name": "oauth2GrantType",
757771
"type": "property"
758772
},
759-
{
760-
"name": "oauth2ClientAuthentication",
761-
"type": "property"
762-
},
763773
{
764774
"name": "authUrl",
765775
"type": "property"

widgets/HTTP-streamingsource.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,20 @@
700700
}
701701
]
702702
},
703+
{
704+
"name": "Authenticate with Grant type",
705+
"condition": {
706+
"property": "oauth2GrantType",
707+
"operator": "equal to",
708+
"value": "Client Credentials"
709+
},
710+
"show": [
711+
{
712+
"name": "oauth2ClientAuthentication",
713+
"type": "property"
714+
}
715+
]
716+
},
703717
{
704718
"name": "Authenticate with OAuth2",
705719
"condition": {
@@ -708,6 +722,10 @@
708722
"value": "oAuth2"
709723
},
710724
"show": [
725+
{
726+
"name": "oauth2GrantType",
727+
"type": "property"
728+
},
711729
{
712730
"name": "oauth2GrantType",
713731
"type": "property"

0 commit comments

Comments
 (0)