Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions airbyte_cdk/sources/declarative/declarative_component_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,8 @@ definitions:
title: Secret Key
type: string
description: Secret used to sign the JSON web token.
interpolation_context:
- config
examples:
- "{{ config['secret_key'] }}"
base64_encode_secret_key:
Expand Down Expand Up @@ -1224,8 +1226,10 @@ definitions:
title: Client ID
description: The OAuth client ID. Fill it in the user inputs.
type: string
interpolation_context:
- config
examples:
- "{{ config['client_id }}"
- "{{ config['client_id'] }}"
- "{{ config['credentials']['client_id }}"
client_secret_name:
title: Client Secret Property Name
Expand All @@ -1238,8 +1242,10 @@ definitions:
title: Client Secret
description: The OAuth client secret. Fill it in the user inputs.
type: string
interpolation_context:
- config
examples:
- "{{ config['client_secret }}"
- "{{ config['client_secret'] }}"
- "{{ config['credentials']['client_secret }}"
refresh_token_name:
title: Refresh Token Property Name
Expand All @@ -1252,6 +1258,8 @@ definitions:
title: Refresh Token
description: Credential artifact used to get a new access token.
type: string
interpolation_context:
- config
examples:
- "{{ config['refresh_token'] }}"
- "{{ config['credentials]['refresh_token'] }}"
Expand All @@ -1272,6 +1280,8 @@ definitions:
title: Access Token Value
description: The value of the access_token to bypass the token refreshing using `refresh_token`.
type: string
interpolation_context:
- config
examples:
- secret_access_token_value
expires_in_name:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,10 @@ class OAuthAuthenticator(BaseModel):
client_id: Optional[str] = Field(
None,
description="The OAuth client ID. Fill it in the user inputs.",
examples=["{{ config['client_id }}", "{{ config['credentials']['client_id }}"],
examples=[
"{{ config['client_id'] }}",
"{{ config['credentials']['client_id }}",
],
title="Client ID",
)
client_secret_name: Optional[str] = Field(
Expand All @@ -536,7 +539,7 @@ class OAuthAuthenticator(BaseModel):
None,
description="The OAuth client secret. Fill it in the user inputs.",
examples=[
"{{ config['client_secret }}",
"{{ config['client_secret'] }}",
"{{ config['credentials']['client_secret }}",
],
title="Client Secret",
Expand Down
Loading