Merge pull request #1402 from GreenGremlin/google-profile-scope

Ensuring profile data is accesible for all Google users
This commit is contained in:
Benoit Schweblin 2019-01-26 14:35:21 +00:00 committed by GitHub
commit 91f8cf3c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ export default {
{ {
client_id: clientId, client_id: clientId,
response_type: 'token id_token', response_type: 'token id_token',
scope: ['openid', ...scopes].join(' '), scope: ['openid', 'profile', ...scopes].join(' '),
hd: appsDomain, hd: appsDomain,
login_hint: sub, login_hint: sub,
prompt: silent ? 'none' : null, prompt: silent ? 'none' : null,