File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ,
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" : {
474512 "value" : " oAuth2"
475513 },
476514 "show" : [
515+ {
516+ "name" : " oauth2GrantType" ,
517+ "type" : " property"
518+ },
477519 {
478520 "name" : " authUrl" ,
479521 "type" : " property"
Original file line number Diff line number Diff line change 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" : {
756770 "name" : " oauth2GrantType" ,
757771 "type" : " property"
758772 },
759- {
760- "name" : " oauth2ClientAuthentication" ,
761- "type" : " property"
762- },
763773 {
764774 "name" : " authUrl" ,
765775 "type" : " property"
Original file line number Diff line number Diff line change 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" : {
708722 "value" : " oAuth2"
709723 },
710724 "show" : [
725+ {
726+ "name" : " oauth2GrantType" ,
727+ "type" : " property"
728+ },
711729 {
712730 "name" : " oauth2GrantType" ,
713731 "type" : " property"
You can’t perform that action at this time.
0 commit comments