Skip to content

Commit

Permalink
Source Google Directory #6265 - SAT for oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliizazmic committed Nov 3, 2021
1 parent 3954b15 commit 2ed8369
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,22 @@ tests:
connection:
- config_path: "secrets/config.json"
status: "succeed"
- config_path: "secrets/config_oauth.json"
status: "succeed"
- config_path: "integration_tests/invalid_config.json"
status: "failed"
- config_path: "integration_tests/invalid_config_oauth.json"
status: "failed"
discovery:
- config_path: "secrets/config.json"
basic_read:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
- config_path: "secrets/config_oauth.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
full_refresh:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
# API returns different lastLoginTime for some users, eteg is generated on all data and also same time different
# API returns different lastLoginTime for some users, eteg is generated based on all data, so also sometime are different
ignored_fields:
"users": ["etag", "lastLoginTime"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"credentials": {
"client_id": "<invalid_client_id>",
"client_secret": "<invalid_client_secret>",
"refresh_token": "<invalid_refresh_token>"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"credentials_json": "<The contents of the JSON service account key>",
"email": "test@test.test"
"credentials": {
"credentials_json": "<The contents of the JSON service account key>",
"email": "test@test.test"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"credentials": {
"client_id": "<Client ID>",
"client_secret": "<Client secret>",
"refresh_token": "<Refresh token>"
}
}

0 comments on commit 2ed8369

Please sign in to comment.