Merge branch '5.48' to master
[civicrm-core.git] / ext / oauth-client / providers / gmail.dist.json
1 {
2 "title": "Google Mail",
3 "class": "League\\OAuth2\\Client\\Provider\\Google",
4 "options": {
5 "urlAuthorize": "https://accounts.google.com/o/oauth2/v2/auth",
6 "urlAccessToken": "https://www.googleapis.com/oauth2/v4/token",
7 "urlResourceOwnerDetails": "https://openidconnect.googleapis.com/v1/userinfo",
8 "accessType": "offline",
9 "scopeSeparator": " ",
10 "scopes": [
11 "https://mail.google.com/",
12 "openid"
13 ]
14 },
15 "mailSettingsTemplate": {
16 "name": "{{token.resource_owner.email}}",
17 "domain": "{{token.resource_owner.email|getMailDomain}}",
18 "localpart": null,
19 "return_path": null,
20 "protocol:name": "IMAP",
21 "server": "imap.gmail.com",
22 "username": "{{token.resource_owner.email}}",
23 "password": null,
24 "is_ssl": true
25 }
26 }