Skip to content

Commit a857351

Browse files
committed
another attempt
1 parent ed1148c commit a857351

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gscHelpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ def connect_to_search_console(access_token, refresh_token, client_id, client_sec
3737
client_id=client_id,
3838
client_secret=client_secret,
3939
scopes=scopes,
40-
revoke_token_uri='https://oauth2.googleapis.com/revoke',
41-
revoke_token_auth_method='client_secret_post') # Add this line
40+
revoke_token_endpoint='https://oauth2.googleapis.com/revoke',
41+
revocation_endpoint_auth_method='client_secret_post') # Add this line
4242

4343
service = build('searchconsole', 'v1', credentials=creds)
4444
print("Successfully connected to Google Search Console API.")

0 commit comments

Comments
 (0)