1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 12:30:00 +00:00

Remove Google+ OAuth scope

The scope is no longer available per https://developers.google.com/+/api-shutdown

Fixes #1472 
Fixes #1573
This commit is contained in:
Sean Leonard 2020-08-26 08:56:56 -07:00 committed by GitHub
parent 843279bacb
commit 078fc25845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ if ub.oauth_support:
ele2 = dict(provider_name='google',
id=oauth_ids[1].id,
active=oauth_ids[1].active,
scope=["https://www.googleapis.com/auth/plus.me", "https://www.googleapis.com/auth/userinfo.email"],
scope=["https://www.googleapis.com/auth/userinfo.email"],
oauth_client_id=oauth_ids[1].oauth_client_id,
oauth_client_secret=oauth_ids[1].oauth_client_secret,
obtain_link='https://github.com/settings/developers')