Commit | Line | Data |
---|---|---|
2752428e TO |
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", | |
d551e4c1 | 6 | "urlResourceOwnerDetails": "{{use_id_token}}", |
2752428e TO |
7 | "scopeSeparator": " ", |
8 | "scopes": [ | |
2752428e TO |
9 | "https://outlook.office.com/IMAP.AccessAsUser.All", |
10 | "https://outlook.office.com/POP.AccessAsUser.All", | |
11 | "https://outlook.office.com/SMTP.Send", | |
d551e4c1 TO |
12 | "openid", |
13 | "email", | |
2752428e TO |
14 | "offline_access" |
15 | ] | |
16 | }, | |
17 | "mailSettingsTemplate": { | |
d551e4c1 TO |
18 | "name": "{{token.resource_owner.email}}", |
19 | "domain": "{{token.resource_owner.email|getMailDomain}}", | |
2752428e TO |
20 | "localpart": null, |
21 | "return_path": null, | |
22 | "protocol:name": "IMAP", | |
23 | "server": "outlook.office365.com", | |
d551e4c1 | 24 | "username": "{{token.resource_owner.email}}", |
2752428e TO |
25 | "password": null, |
26 | "is_ssl": true | |
27 | } | |
28 | } |