Skip to content

Commit

Permalink
Removed settings causing auth issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPDWalker committed Nov 29, 2021
1 parent d29db1a commit 72e757b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@ plugins:
required: false
- name: oauth_credentials.authorization_url
kind: hidden
value: https://oauth2.googleapis.com/token
label: Optional - OAuth Authorization URL for use with a proxy refresh server
required: false
- name: oauth_credentials.scope
kind: hidden
value: https://www.googleapis.com/auth/adwords
label: Optional - OAuth Scope for use with a proxy refresh server
required: false
- name: oauth_credentials.access_token
Expand Down
2 changes: 1 addition & 1 deletion tap_googleads/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def authenticator(self) -> OAuthAuthenticator:
auth_url = auth_url + f"&client_secret={self.config.get('client_secret')}"
auth_url = auth_url + "&grant_type=refresh_token"

oauth_credentials = self.config.get("oauth_credentials.refresh_proxy_url", {})
oauth_credentials = self.config.get("oauth_credentials", {})

if not oauth_credentials:
return GoogleAdsAuthenticator(stream=self, auth_endpoint=auth_url)
Expand Down

0 comments on commit 72e757b

Please sign in to comment.