Enabled Outlook/OAuth/POP3

This commit is contained in:
M66B 2022-12-14 09:57:07 +01:00
parent bd3ac84d77
commit 411a041dc4
1 changed files with 3 additions and 4 deletions

View File

@ -166,11 +166,10 @@
host="smtp.office365.com" host="smtp.office365.com"
port="587" port="587"
starttls="true" /> starttls="true" />
<!--pop <pop
host="outlook.office365.com" host="outlook.office365.com"
port="995" port="995"
starttls="false" /--> starttls="false" />
<!-- https://outlook.office.com/POP.AccessAsUser.All -->
<oauth <oauth
askAccount="true" askAccount="true"
authorizationEndpoint="https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize" authorizationEndpoint="https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize"
@ -179,7 +178,7 @@
privacy="https://privacy.microsoft.com/privacystatement" privacy="https://privacy.microsoft.com/privacystatement"
prompt="login" prompt="login"
redirectUri="msauth.eu.faircode.email://auth" redirectUri="msauth.eu.faircode.email://auth"
scopes="profile,openid,email,offline_access,https://outlook.office.com/IMAP.AccessAsUser.All,https://outlook.office.com/SMTP.Send" scopes="profile,openid,email,offline_access,https://outlook.office.com/IMAP.AccessAsUser.All,https://outlook.office.com/SMTP.Send,https://outlook.office.com/POP.AccessAsUser.All"
tokenEndpoint="https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token" tokenEndpoint="https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token"
tokenScopes="true" /> tokenScopes="true" />
<!-- https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow --> <!-- https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow -->