File tree 2 files changed +46
-18
lines changed
protocol-models/src/main/resources/airbyte_protocol
2 files changed +46
-18
lines changed Original file line number Diff line number Diff line change @@ -659,10 +659,9 @@ definitions:
659
659
description : |-
660
660
OAuth specific blob. Pertains to the fields defined by the connector relating to the OAuth flow.
661
661
type : object
662
- additionalProperties : false
662
+ additionalProperties : true
663
663
required :
664
664
- consent_url
665
- - scope
666
665
- access_token_url
667
666
- extract_output
668
667
properties :
@@ -710,6 +709,20 @@ definitions:
710
709
"Authorization": "Basic {base64Encoder:{client_id}:{client_secret}}"
711
710
}
712
711
}
712
+ access_token_params :
713
+ type : object
714
+ additionalProperties : true
715
+ description : |-
716
+ The OAuth Specific optional query parameters to inject while exchanging the `auth_code` to `access_token` during `completeOAuthFlow` step.
717
+ When this property is provided, the query params are encoded as `Json string` and passed to the outgoing API request.
718
+
719
+ Examples:
720
+ {
721
+ "access_token_params": {
722
+ "my_query_param": "param_value",
723
+ "{client_id_key}": {{client_id_key}}
724
+ }
725
+ }
713
726
extract_output :
714
727
type : array
715
728
items :
@@ -726,22 +739,23 @@ definitions:
726
739
}
727
740
state :
728
741
type : object
729
- additionalProperties : true
730
742
description : |-
731
743
The OAuth Specific object to provide the criteria of how the `state` query param should be constructed,
732
744
including length and complexity.
733
745
734
- TODO: review and edit this property, once the state generation logic is finilized.
735
-
736
746
Examples:
737
747
{
738
748
"state": {
739
- "min_length": 7,
740
- "max_length": 128,
741
- "min_special": 3,
742
- "excluded": ["$", "\\", "."]
749
+ "min": 7,
750
+ "max": 128,
743
751
}
744
752
}
753
+ additionalProperties : true
754
+ properties :
755
+ min :
756
+ type : integer
757
+ max :
758
+ type : integer
745
759
client_id_key :
746
760
type : string
747
761
description : |-
Original file line number Diff line number Diff line change @@ -714,10 +714,9 @@ definitions:
714
714
description : |-
715
715
OAuth specific blob. Pertains to the fields defined by the connector relating to the OAuth flow.
716
716
type : object
717
- additionalProperties : false
717
+ additionalProperties : true
718
718
required :
719
719
- consent_url
720
- - scope
721
720
- access_token_url
722
721
- extract_output
723
722
properties :
@@ -765,6 +764,20 @@ definitions:
765
764
"Authorization": "Basic {base64Encoder:{client_id}:{client_secret}}"
766
765
}
767
766
}
767
+ access_token_params :
768
+ type : object
769
+ additionalProperties : true
770
+ description : |-
771
+ The OAuth Specific optional query parameters to inject while exchanging the `auth_code` to `access_token` during `completeOAuthFlow` step.
772
+ When this property is provided, the query params are encoded as `Json string` and passed to the outgoing API request.
773
+
774
+ Examples:
775
+ {
776
+ "access_token_params": {
777
+ "my_query_param": "param_value",
778
+ "{client_id_key}": {{client_id_key}}
779
+ }
780
+ }
768
781
extract_output :
769
782
type : array
770
783
items :
@@ -781,22 +794,23 @@ definitions:
781
794
}
782
795
state :
783
796
type : object
784
- additionalProperties : true
785
797
description : |-
786
798
The OAuth Specific object to provide the criteria of how the `state` query param should be constructed,
787
799
including length and complexity.
788
800
789
- TODO: review and edit this property, once the state generation logic is finilized.
790
-
791
801
Examples:
792
802
{
793
803
"state": {
794
- "min_length": 7,
795
- "max_length": 128,
796
- "min_special": 3,
797
- "excluded": ["$", "\\", "."]
804
+ "min": 7,
805
+ "max": 128,
798
806
}
799
807
}
808
+ additionalProperties : true
809
+ properties :
810
+ min :
811
+ type : integer
812
+ max :
813
+ type : integer
800
814
client_id_key :
801
815
type : string
802
816
description : |-
You can’t perform that action at this time.
0 commit comments