Re: [Davmail-users] which redirect URI to configure for federated SSO with SimpleSAML? (was: how to
Brought to you by:
mguessan
From: Rasmus L. <jr...@po...> - 2021-07-28 17:16:27
|
Hello Gregor, I battled so much with davmail and MS365 earlier in the year you would not believe it when my employer switched from on-prem Exchange 2010 to 365. I was not able to create my own clientId, but read alot all around Google, and in the end came up with this config, where I believe the clientId is the same as the native outlook id: davmail.defaultDomain= # https://github.com/mguessan/davmail/issues/19 sun.net.http.allowRestrictedHeaders=true log4j.logger.davmail=INFO log4j.logger.httpclient.wire=INFO log4j.logger.org.apache.commons.httpclient=INFO log4j.rootLogger=INFO davmail.logFilePath=~/.davmail.office365.log davmail.logFileSize=4MB davmail.caldavPort=10801 davmail.imapPort=11431 davmail.ldapPort=13891 davmail.popPort= davmail.proxyPort= davmail.smtpPort=10251 davmail.mode=O365Interactive davmail.url=https://outlook.office365.com/EWS/Exchange.asmx davmail.oauth.clientId=d3590ed6-52b3-4102-aeff-aad2292ab01c davmail.oauth.redirectUri=urn:ietf:wg:oauth:2.0:oob davmail.oauth.persistToken=true Take note: I changed the port numbers ... Remember to set your BROWSER='chromium' and edit xdg-open as per https://sourceforge.net/p/davmail/discussion/644057/thread/fb0bcdddfd/?limit=25 to get the saved string after you athenticate using your phone. Rememeber you need OpenJFX https://wiki.openjdk.java.net/display/OpenJFX/Main but this is broken on both FreeBSD and OpenBSD, so you have to stay on ArchLinux or something https://archlinux.org/packages/?q=openjfx Best, Rasmus |