fix: Fix scopes for Google Calendar (#22614)
https://developers.google.com/identity/protocols/oauth2/scopes
This commit is contained in:
parent
c706040c31
commit
2b542d87e1
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ def get_google_calendar_object(g_calendar):
|
|||
"token_uri": GoogleOAuth.OAUTH_URL,
|
||||
"client_id": google_settings.client_id,
|
||||
"client_secret": google_settings.get_password(fieldname="client_secret", raise_exception=False),
|
||||
"scopes": ["https://www.googleapis.com/auth/calendar/v3"],
|
||||
"scopes": [SCOPES],
|
||||
}
|
||||
|
||||
credentials = google.oauth2.credentials.Credentials(**credentials_dict)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue