Skip to content

Commit

Permalink
Update Google Analytics Oauth Specs (#6459)
Browse files Browse the repository at this point in the history
* Update Google Analytics Oauth Specs

* Update docs/integrations/sources/google-analytics-v4.md

* Add access_token to list of outputs params

* Don't repeat rootObject in path to oauth properties
  • Loading branch information
ChristopheDuong authored Sep 27, 2021
1 parent 4ce6a03 commit 3faaffd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
- sourceDefinitionId: eff3616a-f9c3-11eb-9a03-0242ac130003
name: Google Analytics v4
dockerRepository: airbyte/source-google-analytics-v4
dockerImageTag: 0.1.3
dockerImageTag: 0.1.5
documentationUrl: https://docs.airbyte.io/integrations/sources/source-google-analytics-v4
icon: google-analytics.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.3
LABEL io.airbyte.version=0.1.5
LABEL io.airbyte.name=airbyte/source-google-analytics-v4
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"client_id": { "type": "string" },
"client_secret": { "type": "string", "airbyte_secret": true },
"refresh_token": { "type": "string", "airbyte_secret": true }
"refresh_token": { "type": "string", "airbyte_secret": true },
"access_token": { "type": "string", "airbyte_secret": true }
},
"required": ["client_id", "client_secret", "refresh_token"],
"additionalProperties": false
Expand Down Expand Up @@ -75,10 +76,14 @@
"authSpecification": {
"auth_type": "oauth2.0",
"oauth2Specification": {
"rootObject": ["credentials", 0],
"oauthFlowInitParameters": [
["credentials", "client_id"],
["credentials", "client_secret"],
["credentials", "refresh_token"]
["client_id"],
["client_secret"]
],
"oauthFlowOutputParameters": [
["access_token"],
["refresh_token"]
]
}
}
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/google-analytics-v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Incremental sync supports only if you add `ga:date` dimension to your custom rep

| Version | Date | Pull Request | Subject |
| :------ | :-------- | :----- | :------ |
| 0.1.5 | 2021-09-27 | [6459](https://github.com/airbytehq/airbyte/pull/6459) | Update OAuth Spec File |
| 0.1.3 | 2021-09-21 | [6357](https://github.com/airbytehq/airbyte/pull/6357) | Fix oauth workflow parameters |
| 0.1.2 | 2021-09-20 | [6306](https://github.com/airbytehq/airbyte/pull/6306) | Support of airbyte OAuth initialization flow |
| 0.1.1 | 2021-08-25 | [5655](https://github.com/airbytehq/airbyte/pull/5655) | Corrected validation of empty custom report|
Expand Down

0 comments on commit 3faaffd

Please sign in to comment.