Merge pull request #19599 from totten/master-jwt
[civicrm-core.git] / ext / oauth-client / providers / ms-exchange.dist.json
1 {
2 "title": "Microsoft Exchange Online",
3 "options": {
4 "urlAuthorize": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
5 "urlAccessToken": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
6 "urlResourceOwnerDetails": "{{use_id_token}}",
7 "scopeSeparator": " ",
8 "scopes": [
9 "https://outlook.office.com/IMAP.AccessAsUser.All",
10 "https://outlook.office.com/POP.AccessAsUser.All",
11 "https://outlook.office.com/SMTP.Send",
12 "openid",
13 "email",
14 "offline_access"
15 ]
16 },
17 "mailSettingsTemplate": {
18 "name": "{{token.resource_owner.email}}",
19 "domain": "{{token.resource_owner.email|getMailDomain}}",
20 "localpart": null,
21 "return_path": null,
22 "protocol:name": "IMAP",
23 "server": "outlook.office365.com",
24 "username": "{{token.resource_owner.email}}",
25 "password": null,
26 "is_ssl": true
27 }
28 }