You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte_cdk/sources/declarative/declarative_component_schema.yaml
+61-19Lines changed: 61 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1064,20 +1064,41 @@ definitions:
1064
1064
type:
1065
1065
type: string
1066
1066
enum: [OAuthAuthenticator]
1067
+
client_id_name:
1068
+
title: Client ID Property Name
1069
+
description: The name of the property to use to refresh the `access_token`.
1070
+
type: string
1071
+
default: "client_id"
1072
+
examples:
1073
+
- custom_app_id
1067
1074
client_id:
1068
1075
title: Client ID
1069
1076
description: The OAuth client ID. Fill it in the user inputs.
1070
1077
type: string
1071
1078
examples:
1072
1079
- "{{ config['client_id }}"
1073
1080
- "{{ config['credentials']['client_id }}"
1081
+
client_secret_name:
1082
+
title: Client Secret Property Name
1083
+
description: The name of the property to use to refresh the `access_token`.
1084
+
type: string
1085
+
default: "client_secret"
1086
+
examples:
1087
+
- custom_app_secret
1074
1088
client_secret:
1075
1089
title: Client Secret
1076
1090
description: The OAuth client secret. Fill it in the user inputs.
1077
1091
type: string
1078
1092
examples:
1079
1093
- "{{ config['client_secret }}"
1080
1094
- "{{ config['credentials']['client_secret }}"
1095
+
refresh_token_name:
1096
+
title: Refresh Token Property Name
1097
+
description: The name of the property to use to refresh the `access_token`.
1098
+
type: string
1099
+
default: "refresh_token"
1100
+
examples:
1101
+
- custom_app_refresh_value
1081
1102
refresh_token:
1082
1103
title: Refresh Token
1083
1104
description: Credential artifact used to get a new access token.
@@ -1111,6 +1132,13 @@ definitions:
1111
1132
default: "expires_in"
1112
1133
examples:
1113
1134
- expires_in
1135
+
grant_type_name:
1136
+
title: Grant Type Property Name
1137
+
description: The name of the property to use to refresh the `access_token`.
1138
+
type: string
1139
+
default: "grant_type"
1140
+
examples:
1141
+
- custom_grant_type
1114
1142
grant_type:
1115
1143
title: Grant Type
1116
1144
description: Specifies the OAuth2 grant type. If set to refresh_token, the refresh_token needs to be provided as well. For client_credentials, only client id and secret are required. Other grant types are not officially supported.
@@ -2221,15 +2249,15 @@ definitions:
2221
2249
Pertains to the fields defined by the connector relating to the OAuth flow.
2222
2250
2223
2251
Interpolation capabilities:
2224
-
- The variables placeholders are declared as `{my_var}`.
2225
-
- The nested resolution variables like `{{my_nested_var}}` is allowed as well.
2252
+
- The variables placeholders are declared as `{{my_var}}`.
2253
+
- The nested resolution variables like `{{ {{my_nested_var}} }}` is allowed as well.
2226
2254
2227
2255
- The allowed interpolation context is:
2228
-
+ base64Encoder - encode to `base64`, {base64Encoder:{my_var_a}:{my_var_b}}
2229
-
+ base64Decorer - decode from `base64` encoded string, {base64Decoder:{my_string_variable_or_string_value}}
2230
-
+ urlEncoder - encode the input string to URL-like format, {urlEncoder:https://test.host.com/endpoint}
2231
-
+ urlDecorer - decode the input url-encoded string into text format, {urlDecoder:https%3A%2F%2Fairbyte.io}
2232
-
+ codeChallengeS256 - get the `codeChallenge` encoded value to provide additional data-provider specific authorisation values, {codeChallengeS256:{state_value}}
+ urlEncoder - encode the input string to URL-like format, {{ https://test.host.com/endpoint | urlEncoder}}
2259
+
+ urlDecorer - decode the input url-encoded string into text format, {{ urlDecoder:https%3A%2F%2Fairbyte.io | urlDecoder}}
2260
+
+ codeChallengeS256 - get the `codeChallenge` encoded value to provide additional data-provider specific authorisation values, {{ {{state_value}} | codeChallengeS256 }}
0 commit comments