Skip to content

Commit f0fe8c8

Browse files
devin-ai-integration[bot]aldogonzalez8lazebnyi
authored
feat(source-gong): migrate OAuth scope to scopes object array (#75195)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: aldo.gonzalez@airbyte.io <aldo.gonzalez@airbyte.io> Co-authored-by: Serhii Lazebnyi <gl_serhii.lazebnyi@airbyte.io>
1 parent b6204b6 commit f0fe8c8

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

airbyte-integrations/connectors/source-gong/manifest.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ spec:
548548
predicate_value: OAuth2.0
549549
oauth_config_specification:
550550
oauth_connector_input_specification:
551-
consent_url: https://app.gong.io/oauth2/authorize?client_id={{client_id_value}}&redirect_uri={{redirect_uri_value}}&response_type=code&state={{state_value}}&scope={{scope_value | urlEncode}}
551+
consent_url: https://app.gong.io/oauth2/authorize?client_id={{client_id_value}}&redirect_uri={{redirect_uri_value}}&response_type=code&state={{state_value}}&{{scopes_param}}
552552
access_token_url: https://app.gong.io/oauth2/generate-customer-token
553553
access_token_headers:
554554
Authorization: "Basic {{ (client_id_value ~ ':' ~ client_secret_value) | b64encode }}"
@@ -557,7 +557,14 @@ spec:
557557
grant_type: authorization_code
558558
redirect_uri: "{{ redirect_uri_value }}"
559559
code: "{{ auth_code_value }}"
560-
scope: api:calls:read:basic api:calls:read:extensive api:users:read api:stats:scorecards api:stats:interaction
560+
scopes:
561+
- scope: "api:calls:read:basic"
562+
- scope: "api:calls:read:extensive"
563+
- scope: "api:calls:read:transcript"
564+
- scope: "api:users:read"
565+
- scope: "api:stats:scorecards"
566+
- scope: "api:stats:interaction"
567+
- scope: "api:settings:scorecards:read"
561568
extract_output:
562569
- access_token
563570
- refresh_token

airbyte-integrations/connectors/source-gong/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ data:
77
connectorSubtype: api
88
connectorType: source
99
definitionId: 32382e40-3b49-4b99-9c5c-4076501914e7
10-
dockerImageTag: 0.6.2
10+
dockerImageTag: 0.6.3
1111
dockerRepository: airbyte/source-gong
1212
documentationUrl: https://docs.airbyte.com/integrations/sources/gong
1313
githubIssueLabel: source-gong

docs/integrations/sources/gong.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ The call transcripts stream fetches transcripts one call at a time as a substrea
7777

7878
| Version | Date | Pull Request | Subject |
7979
| :------ | :--------- | :------------------------------------------------------- | :------------------------------------------------------------------------------ |
80+
| 0.6.3 | 2026-03-26 | [75195](https://github.com/airbytehq/airbyte/pull/75195) | Migrate OAuth scope to scopes object array for granular scopes support |
8081
| 0.6.2 | 2026-03-24 | [75388](https://github.com/airbytehq/airbyte/pull/75388) | Update dependencies |
8182
| 0.6.1 | 2026-03-20 | [75253](https://github.com/airbytehq/airbyte/pull/75253) | Fix incremental sync for extensiveCalls and answeredScorecards not filtering server-side |
8283
| 0.6.0 | 2026-03-18 | [75132](https://github.com/airbytehq/airbyte/pull/75132) | Add incremental sync support for callTranscripts stream |

0 commit comments

Comments
 (0)