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
+46-19
Original file line number
Diff line number
Diff line change
@@ -1047,20 +1047,41 @@ definitions:
1047
1047
type:
1048
1048
type: string
1049
1049
enum: [OAuthAuthenticator]
1050
+
client_id_name:
1051
+
title: Client ID Property Name
1052
+
description: The name of the property to use to refresh the `access_token`.
1053
+
type: string
1054
+
default: "client_id"
1055
+
examples:
1056
+
- custom_app_id
1050
1057
client_id:
1051
1058
title: Client ID
1052
1059
description: The OAuth client ID. Fill it in the user inputs.
1053
1060
type: string
1054
1061
examples:
1055
1062
- "{{ config['client_id }}"
1056
1063
- "{{ config['credentials']['client_id }}"
1064
+
client_secret_name:
1065
+
title: Client Secret Property Name
1066
+
description: The name of the property to use to refresh the `access_token`.
1067
+
type: string
1068
+
default: "client_secret"
1069
+
examples:
1070
+
- custom_app_secret
1057
1071
client_secret:
1058
1072
title: Client Secret
1059
1073
description: The OAuth client secret. Fill it in the user inputs.
1060
1074
type: string
1061
1075
examples:
1062
1076
- "{{ config['client_secret }}"
1063
1077
- "{{ config['credentials']['client_secret }}"
1078
+
refresh_token_name:
1079
+
title: Refresh Token Property Name
1080
+
description: The name of the property to use to refresh the `access_token`.
1081
+
type: string
1082
+
default: "refresh_token"
1083
+
examples:
1084
+
- custom_app_refresh_value
1064
1085
refresh_token:
1065
1086
title: Refresh Token
1066
1087
description: Credential artifact used to get a new access token.
@@ -1094,6 +1115,13 @@ definitions:
1094
1115
default: "expires_in"
1095
1116
examples:
1096
1117
- expires_in
1118
+
grant_type_name:
1119
+
title: Grant Type Property Name
1120
+
description: The name of the property to use to refresh the `access_token`.
1121
+
type: string
1122
+
default: "grant_type"
1123
+
examples:
1124
+
- custom_grant_type
1097
1125
grant_type:
1098
1126
title: Grant Type
1099
1127
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.
@@ -2204,15 +2232,15 @@ definitions:
2204
2232
Pertains to the fields defined by the connector relating to the OAuth flow.
2205
2233
2206
2234
Interpolation capabilities:
2207
-
- The variables placeholders are declared as `{my_var}`.
2208
-
- The nested resolution variables like `{{my_nested_var}}` is allowed as well.
2235
+
- The variables placeholders are declared as `{{my_var}}`.
2236
+
- The nested resolution variables like `{{ {{my_nested_var}} }}` is allowed as well.
2209
2237
2210
2238
- The allowed interpolation context is:
2211
-
+ base64Encoder - encode to `base64`, {base64Encoder:{my_var_a}:{my_var_b}}
2212
-
+ base64Decorer - decode from `base64` encoded string, {base64Decoder:{my_string_variable_or_string_value}}
2213
-
+ urlEncoder - encode the input string to URL-like format, {urlEncoder:https://test.host.com/endpoint}
2214
-
+ urlDecorer - decode the input url-encoded string into text format, {urlDecoder:https%3A%2F%2Fairbyte.io}
2215
-
+ 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}}
2242
+
+ urlDecorer - decode the input url-encoded string into text format, {{ urlDecoder:https%3A%2F%2Fairbyte.io | urlDecoder}}
2243
+
+ codeChallengeS256 - get the `codeChallenge` encoded value to provide additional data-provider specific authorisation values, {{ {{state_value}} | codeChallengeS256 }}
0 commit comments