-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎉 Source Hubspot: Support OAuth (#6465)
* Add required scopes to hubspot.md docs * Update spec with oauth creds. Update acceptance test config with oauth tests. Add oauth test creds configs. * Fix spec.js `oneOf` usage * Add CDK authenticators usage. Update source acceptance tests. Update spec.json. * Fix source unit tests * Update hubspot.md scopes docs * Add spec field titles. Update comments. * Update spec.json oauthFlowOutputParameters. * Update spec.json to pass SAT.
- Loading branch information
Showing
13 changed files
with
206 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
airbyte-integrations/connectors/source-hubspot/integration_tests/invalid_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"start_date": "2021-01-01T00:00:00Z", | ||
"credentials": { | ||
"credentials_title": "API Key Credentials", | ||
"api_key": "wrongkey-key1-key2-key3-wrongkey1234" | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
airbyte-integrations/connectors/source-hubspot/integration_tests/invalid_config_oauth.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"start_date": "2021-05-30T00:00:00Z", | ||
"credentials": { | ||
"credentials_title": "OAuth Credentials", | ||
"client_id": "fake-client-id-not1234-id12345", | ||
"client_secret": "fake-client-secret-not1234-secret12345", | ||
"refresh_token": "fake-refresh-token-not1234-token12345" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...-integrations/connectors/source-hubspot/integration_tests/invalid_config_wrong_title.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"start_date": "2021-05-30T00:00:00Z", | ||
"credentials": { | ||
"credentials_title": "Fake Credentials", | ||
"client_id": "fake-client-id-not1234-id12345" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.